9.8

CVE-2024-42005: djangoproject django

Modified
AliasesGHSA-pv4p-cwwg-4rphBIT-django-2024-42005PYSEC-2024-70
Published 07-08-2024Last modified 04-11-2025

Vulnerability summary

CVE-2024-42005 is a critical (CVSS 9.8) vulnerability in djangoproject django. EPSS estimates a 1.50% chance of exploitation in the next 30 days, higher than 74.3% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 9.8 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 03-11-2026)

Source freshness unavailable

How is this decided?
CVSS score
9.8/10
010
Critical · v3.1 (CVE.org)
EPSS score
1.50%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 16 · Related 10

Timeline

  1. 07-08-2024
    PublishedVulnerability first disclosed.
  2. 04-11-2025
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

7 scores · 6 sources · 2 versions

EPSS trend

Probability

1.50%

Chance of exploitation in the next 30 days

Percentile

74%

Versus all other CVEs

30-day change

No change 0.00 pp

From 1.50% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Alpine1 product
  • py3-django< 4.2.16-r0
Debian1 product
  • python-django< 3:3.2.25-0+deb12u1 | < 3:4.2.15-1
Djangoproject1 product
  • django≥ 4.2, < 4.2.15 | ≥ 5.0, < 5.0.8
PyPI1 product
  • django≥ 5.0, < 5.0.8 | ≥ 4.2, < 4.2.15
Ubuntu1 product
  • python-django< 2:3.2.12-2ubuntu1.13 | < 3:4.2.11-1ubuntu1.2

5 vendors · 5 products

References

18 links
Show all 18 references