cve.bz

CVE-2022-34265

9.8 criticalEPSS 74%

Critical (9.8) in djangoproject django. EPSS 74% chance of exploitation in the next 30 days. Fixed in django 3.2.14, 4.0.6.

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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
74% chance of exploitation in the next 30 days; higher than 99% of CVEs (scores of 2026-10-31)
CWE
CWE-89
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-p64x-8rxx-wf6qPyPIdjango>=3.2a1 <3.2.143.2.14
GHSA-p64x-8rxx-wf6qPyPIdjango>=4.0a1 <4.0.64.0.6
PYSEC-2022-213PyPIdjango>=3.2 <3.2.14
>=4.0 <4.0.6
3.2.14, 4.0.6

References

Check your stackJSON