Feed
9.1CRITICAL

CVE-2024-42005Django SQL injection vulnerability

A critical-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 1.4% chance of exploitation in the next 30 days. A fixed version is named.

Exploited in the wild
Not in KEV
EPSS
1.4%
percentile 73%
Priority
26/100 medium
how it is computed
Fix
Named by a source
CVE published 7 Aug 2024

Reference

None of the "Needs attention" rules apply right now.

EPSS 1.4% (+1) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)

Immediate actions

Who should check

  • django (PyPI) pkg:pypi/django

    • Affected>= 5.0, < 5.0.8Fixed in5.0.8OSV (PYSEC-2024-70)
    • Affected>= 4.2, < 4.2.15Fixed in4.2.15OSV (PYSEC-2024-70)

Confirmed facts

CVSS
9.1 CRITICAL (version 3.1)
Score from
GitHub Advisory Database (GHSA-pv4p-cwwg-4rph)
Attack vector
network
Attack complexity
low
Privileges required
none
User interaction
none
Weakness
CWE-89

Unknowns

  • We show one CVSS score. Other sources may score this CVE differently.

Advisory text

Quoted from the source advisory (untrusted)An issue was discovered in Django 5.0 before 5.0.8 and 4.2 before 4.2.15. QuerySet.values() and values_list() methods on models with a JSONField are subject to SQL injection in column aliases via a crafted JSON object key as a passed *arg.

Update history

No events recorded. Our history starts on 1 Jan 2025.

References

Sources

This page is our own presentation: records are shortened, normalised and merged. Licences

Last checked: kev 38 min ago · osv 37 min ago · nvd 37 min ago · epss 37 min ago · JSON · ask via MCP: explain_vulnerability

Also known as BIT-django-2024-42005, GHSA-pv4p-cwwg-4rph, PYSEC-2024-70