> CVE-2022-34265 [CRITICAL]

« BACK_TO_HOME
PUBLISHED
2022-07-04 16:15
MODIFIED
2024-11-21 07:09
CVSS_SCORE V3
9.8
EPSS (Prob. Exploit)
73.61%
Top 0.5%
⚡ EPSS ÉLEVÉ (73.6%)
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-11-08 GITHUB 🔗 2026-11-17 OSV 🔗 2026-11-15

> 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.

> AFFECTED_PRODUCTS

Djangoproject - Django
>= 3.2 < 3.2.14
Djangoproject - Django
>= 4.0 < 4.0.6

> CVSS V3 METRICS

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

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
High (H)
Interruption totale du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
High
Interruption totale du service possible

> GITHUB SECURITY ADVISORY

GHSA-p64x-8rxx-wf6q CRITICAL

Django `Trunc()` and `Extract()` database functions vulnerable to SQL Injection

AFFECTED PACKAGES:
PIP / Django
>= 4.0a1, < 4.0.6
Fixed in: 4.0.6
PIP / Django
>= 3.2a1, < 3.2.14
Fixed in: 3.2.14

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

AFFECTED PACKAGES:
Unknown / Unknown
ALIASES:
BIT-django-2022-34265, GHSA-p64x-8rxx-wf6q, PYSEC-2022-213

> HISTORIQUE DES MODIFICATIONS

Première apparition
04/07/2022 16:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 14:34
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 1 Dernière mise à jour: 1 year ago
« BACK_TO_HOME