9.8

CVE-2022-34265: djangoproject django

Modified
AliasesGHSA-p64x-8rxx-wf6qBIT-django-2022-34265PYSEC-2022-213
Published 04-07-2022Last modified 13-02-2025

Vulnerability summary

CVE-2022-34265 is a critical (CVSS 9.8) vulnerability in djangoproject django. EPSS estimates a 73.61% chance of exploitation in the next 30 days, higher than 99.4% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 9.8 (NVD); no exploitation reported by the 5 checked sources; EPSS 74% (FIRST, 03-11-2026)

Source freshness unavailable

How is this decided?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
73.61%
0%100%
Critical · 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 11 · Related 7

Timeline

  1. 04-07-2022
    PublishedVulnerability first disclosed.
  2. 13-02-2025
    Last modifiedVulnerability information updated.

Description

An issue was discovered in Django 3.2 before 3.2.14 and 4.0 before 4.0.6. The Trunc() and Extract() database functions are subject to SQL injection if untrusted data is used as a kind/lookup_name value. Applications that constrain the lookup name and kind choice to a known safe list are unaffected.

CVSS metrics

8 scores · 6 sources · 3 versions

EPSS trend

Probability

73.61%

Chance of exploitation in the next 30 days

Percentile

99%

Versus all other CVEs

30-day change

No change 0.00 pp

From 73.61% 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.

Redhat2 products
  • python-django< 0:3.2.14-3.el8ui
  • python38-django< 0:3.2.14-3.el8ui
Alpine1 product
  • py3-django< 3.2.14-r0
Debian1 product
  • python-django< 2:4.0.6-1
Djangoproject1 product
  • django≥ 3.2, < 3.2.14 | ≥ 4.0, < 4.0.6
Opensuse1 product
  • python-Django&distro=openSUSE Tumbleweed< 4.0.6-1.1
PyPI1 product
  • django≥ 3.2a1, < 3.2.14 | ≥ 4.0a1, < 4.0.6 | ≥ 4.0, < 4.0.6
Ubuntu1 product
  • python-django< 1:1.11.11-1ubuntu1.18 | < 2:2.2.12-1ubuntu0.12 | < 2:3.2.12-2ubuntu1.1

7 vendors · 8 products

References

32 links
Show all 32 references