Security Resilience

CVE-2024-39614

Djangoproject Django 4.2 – 4.2.14

Published
10 July 2024
Modified
04 November 2025
Patch / advisory
CVSS Score v3.1 7.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Score 0.29 98th percentile
Risk Priority 73 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

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 Exploit Public-Facing Application (T1190); 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

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

MITRE ATT&CK v20.0

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
T1204.002 Malicious File Execution
An adversary may rely upon a user opening a malicious file in order to gain execution.
T1499 Endpoint Denial of Service Impact
Adversaries may perform Endpoint Denial of Service (DoS) attacks to degrade or block the availability of services to users.
T1499.004 Application or System Exploitation Impact
Adversaries may exploit software vulnerabilities that can cause an application or system to crash and deny availability to users.
T1584.004 Server Resource Development
Adversaries may compromise third-party servers that can be used during targeting.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-41990Same product: Djangoproject Django
CVE-2026-5766Same product: Djangoproject Django
CVE-2024-38875Same product: Djangoproject Django
CVE-2024-41991Same product: Djangoproject Django
CVE-2026-53877Same product: Djangoproject Django
CVE-2024-45230Same product: Djangoproject Django
CVE-2025-59682Same product: Djangoproject Django
CVE-2024-39330Same product: Djangoproject Django
CVE-2025-59681Same product: Djangoproject Django
CVE-2025-64459Same product: Djangoproject Django

Affected Assets

djangoproject
django
4.2 — 4.2.14 · 5.0 — 5.0.7

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V3.5.5
  • V4.2.1
  • V4.2.2

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

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)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly enforce length validation and input sanitization during coding and review.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing in development can detect length-inconsistency vulnerabilities before deployment.

prevents

Training raises developer awareness of input validation and parsing hazards, which catches a minority of length-parameter inconsistencies before they ship, but the strongest effect on this implementation-phase defect belongs to secure coding (A.8.28) and security testing (A.8.29), and human practice is fallible.

prevents

Secure coding standards directly prohibit improper length handling and enforce defensive parsing practices.

prevents

A.8.30 contractually requires secure design, coding and testing practices (8.25–8.29), threat modelling, acceptance testing and evidence of vulnerability testing in outsourced delivery, which can prevent some length-parameter handling defects at the supplier; but the clause is an oversight/governance layer whose effect depends on supplier implementation rigour and the organisation's monitoring, so it catches a minority of instances rather than the bulk.

finds

A.8.8's reach is disclosure-based (vendor advisories, third-party component inventory); CWE-130 is an implementation bug in parsing code that lives mostly in first-party code A.8.8 does not read, so only the disclosed share — instances that have surfaced as CVEs in third-party components (Heartbleed being the canonical example) — is found, which is a minority of latent instances.

References