CVE-2024-39614
Djangoproject Django 4.2 – 4.2.14
Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HSummary
CVE-2024-39614 is a high-severity Improper Handling of Length Parameter Inconsistency (CWE-130) vulnerability in Djangoproject Django. Its CVSS base score is 7.5 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Privilege Escalation (T1068); ranked in the top 2% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SI-10 (Information Input Validation) — see the control section below for these in your framework.
Deeper analysis AI-assisted summary
Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.
CVE-2024-39614 affects the get_supported_language_variant() function in Django versions 5.0 before 5.0.7 and 4.2 before 4.2.14. The flaw, assigned CWE-130, allows a denial-of-service condition when the function processes very long input strings containing specific characters, resulting in a CVSS 7.5 rating driven entirely by high availability impact over the network without authentication.
An unauthenticated remote attacker can supply a crafted, excessively long language-variant string to any Django application code path that invokes this function, triggering excessive resource consumption and service disruption. No privileges or user interaction are required, making the attack surface broad for any exposed Django deployment that uses internationalization features.
Official Django security advisories and release notes direct users to upgrade immediately to 5.0.7 or 4.2.14, which contain the fix; the project’s announcement channels and documentation pages provide the corresponding patch details and upgrade guidance.
EPSS scores have remained low and essentially flat near 0.07, with no indication of emerging exploitation interest.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-0043
Vulnerability Data
An issue was discovered in Django 5.0 before 5.0.7 and 4.2 before 4.2.14. get_supported_language_variant() was subject to a potential denial-of-service attack when used with very long strings containing specific characters.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
—
—
—
V3.5.5V4.2.1V4.2.2
Mitigating Controls (NIST 800-53 r5) AI
Developer testing and evaluation can discover length-parameter inconsistencies through targeted parsing tests.
Input validation enforces correct length-to-data consistency checks on parsed messages before processing.
Mitigating Controls (NIST CSF 2.0) AI
Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.
Secure SDLC practices directly enforce length validation and input sanitization during coding and review.
Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI
Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.
Security testing in development can detect length-inconsistency vulnerabilities before deployment.
Secure development lifecycle mandates input validation and length checks that directly address inconsistent length fields.
Application security requirements include explicit rules for handling message lengths and data structures.
Secure architecture principles require robust parsing and bounds checking to prevent length-related flaws.
Secure coding standards directly prohibit improper length handling and enforce defensive parsing practices.