Bug 2547370 - CVE-2026-77050 python-django4.2: Denial of service via unbounded caching of long language codes in get_supported_language_variant() [epel-all]
Summary: CVE-2026-77050 python-django4.2: Denial of service via unbounded caching of l...
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: python-django4.2
Version: epel10
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
Assignee: Michel Lind
QA Contact:
URL:
Whiteboard: {"flaws": ["61c22acc-72ac-4de8-a714-c...
Depends On:
Blocks: CVE-2026-77050
TreeView+ depends on / blocked
 
Reported: 2026-10-07 10:28 UTC by Vladimir Vasilev
Modified: 2026-10-07 10:28 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Vladimir Vasilev 2026-10-07 10:28:58 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

A flaw was found in Django. The django.utils.translation.get_supported_language_variant() function used language codes as keys in an in-memory cache without first limiting their length. A remote, unauthenticated attacker could submit many distinct, very long language codes (for example via the Accept-Language HTTP header processed by Django's locale middleware) to grow this cache and consume excessive process memory over time. The upstream fix rejects or truncates language codes longer than 500 characters before the cached lookup. No confidentiality or integrity impact has been demonstrated.


Note You need to log in before you can comment on or make changes to this bug.