Skip to content

Update django to 5.1.10 #5882

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 5, 2025
Merged

Conversation

pyup-bot
Copy link
Collaborator

@pyup-bot pyup-bot commented Jun 4, 2025

This PR updates django from 5.1.9 to 5.1.10.

Changelog

5.1.10

===========================

*June 4, 2025*

Django 5.1.10 fixes a security issue with severity "low" in 5.1.9.

CVE-2025-48432: Potential log injection via unescaped request path
==================================================================

Internal HTTP response logging used ``request.path`` directly, allowing control
characters (e.g. newlines or ANSI escape sequences) to be written unescaped
into logs. This could enable log injection or forgery, letting attackers
manipulate log appearance or structure, especially in logs processed by
external systems or viewed in terminals.

Although this does not directly impact Django's security model, it poses risks
when logs are consumed or interpreted by other tools. To fix this, the internal
``django.utils.log.log_response()`` function now escapes all positional
formatting arguments using a safe encoding.


==========================
Links

@pyup-bot pyup-bot added the update label Jun 4, 2025
@browniebroke browniebroke merged commit d09df15 into master Jun 5, 2025
16 checks passed
@browniebroke browniebroke deleted the pyup-update-django-5.1.9-to-5.1.10 branch June 5, 2025 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants