Vulnerability · Published Jul 2, 2021 · Assigned by mitre

CVE-2021-35042

Critical 9.8

In plain English

A critical-severity security flaw in the py3-django package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 44.4% (higher than 99% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)44.4%top 1.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack tooling1Public PoC

Official description

Django 3.1.x before 3.1.13 and 3.2.x before 3.2.5 allows QuerySet.order_by SQL injection if order_by is untrusted input from a client of a web application.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20py3-django3.1.13-r0ALPINE-CVE-2021-35042
Alpine:v3.21py3-django3.1.13-r0ALPINE-CVE-2021-35042
Alpine:v3.22py3-django3.1.13-r0ALPINE-CVE-2021-35042
Alpine:v3.23py3-django3.1.13-r0ALPINE-CVE-2021-35042
Alpine:v3.24py3-django3.1.13-r0ALPINE-CVE-2021-35042
PyPIdjango3.2.5GHSA-xpfp-f569-q3p2
PyPIdjango3.1.13GHSA-xpfp-f569-q3p2
PyPIdjango3.1.13, 3.2.5PYSEC-2021-109

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References