SQL Injection The advisory has been revoked - it doesn't affect any version of package python-django  (opens in a new tab)


Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
15.59% (96th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL7-PYTHONDJANGO-4435571
  • published26 Mar 2023
  • disclosed4 Jul 2022

Introduced: 4 Jul 2022

CVE-2022-34265  (opens in a new tab)
CWE-89  (opens in a new tab)

Amendment

The Red Hat security team deemed this advisory irrelevant for RHEL:7.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-django package and not the python-django package as distributed by RHEL.

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.