logo

CVE-2022-34265 django

Package

Manager: pip
Name: django
Vulnerable Version: >=3.2a1 <3.2.14 || >=4.0a1 <4.0.6

Severity

Level: Critical

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

EPSS: 0.92734 pctl0.99744

Details

Django `Trunc()` and `Extract()` database functions vulnerable to SQL Injection 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.

Metadata

Created: 2022-07-05T00:00:53Z
Modified: 2024-09-20T16:01:46Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/07/GHSA-p64x-8rxx-wf6q/GHSA-p64x-8rxx-wf6q.json
CWE IDs: ["CWE-89"]
Alternative ID: GHSA-p64x-8rxx-wf6q
Finding: F297
Auto approve: 1