CVE-2021-33571

Aliases:GHSA-p99v-5w3c-jqq9BIT-django-2021-33571PYSEC-2021-99
Modified
Published: 08 Jun 2021, 00:00
Last modified:03 Aug 2024, 23:50

Vulnerability Summary

Overall Risk (default)
medium
30/100
CVSS Score
7.5 HIGH
v3.1 (nvd)
EPSS Score
0.01% LOW
0% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

08 Jun 2021, 00:00
Published
Vulnerability first disclosed
03 Aug 2024, 23:50
Last Modified
Vulnerability information updated

Description

In Django 2.2 before 2.2.24, 3.x before 3.1.12, and 3.2 before 3.2.4, URLValidator, validate_ipv4_address, and validate_ipv46_address do not prohibit leading zero characters in octal literals. This may allow a bypass of access control that is based on IP addresses. (validate_ipv4_address and validate_ipv46_address are unaffected with Python 3.9.5+..) .

CVSS Metrics

  • v4.0HIGHScore: 8.7CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
  • v3.1HIGHScore: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
  • v2.0MEDIUMScore: 5AV:N/AC:L/Au:N/C:N/I:P/A:N

EPSS Trends

Current EPSS score: 0.01% Percentile: 3%

Techniques & Countermeasures

  • CWE-918Server-Side Request Forgery (SSRF)

    The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.

Affected Systems

  • djangoprojectdjango

    ≥ 2.2, < 2.2.24 | ≥ 3.0, < 3.1.12 | ≥ 3.2, < 3.2.4

  • fedoraprojectfedora

    35

  • PyPIdjango

    ≥ 2.2a1, < 2.2.24 | ≥ 3.0a1, < 3.1.12 | ≥ 3.2a1, < 3.2.4 | ≥ 3.2, < 3.2.4

References (17)