Vulnerability Details : CVE-2021-33571
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+..) .
Vulnerability category: Server-side request forgery (SSRF)
Products affected by CVE-2021-33571
- cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
- cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
- cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
- cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-33571
0.19%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 56 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-33571
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:N/I:P/A:N |
10.0
|
2.9
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
3.9
|
3.6
|
NIST |
CWE ids for CVE-2021-33571
-
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.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-33571
-
https://security.netapp.com/advisory/ntap-20210727-0004/
June 2021 Django Vulnerabilities in NetApp Products | NetApp Product SecurityThird Party Advisory
-
https://www.djangoproject.com/weblog/2021/jun/02/security-releases/
Django security releases issued: 3.2.4, 3.1.12, and 2.2.24 | Weblog | DjangoPatch;Vendor Advisory
-
https://groups.google.com/g/django-announce/c/sPyjSKMi8Eo
Django security releases issued: 3.2.4, 3.1.12, and 2.2.24Mailing List;Third Party Advisory
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV/
[SECURITY] Fedora 35 Update: python-django-3.2.12-1.fc35 - package-announce - Fedora Mailing-ListsMailing List;Third Party Advisory
-
https://docs.djangoproject.com/en/3.2/releases/security/
Archive of security issues | Django documentation | DjangoPatch;Vendor Advisory
-
https://github.com/django/django/commit/9f75e2e562fa0c0482f3dde6fc7399a9070b4a3d
[3.2.x] Fixed CVE-2021-33571 -- Prevented leading zeros in IPv4 addre… · django/django@9f75e2e · GitHub
-
https://github.com/django/django/commit/f27c38ab5d90f68c9dd60cabef248a570c0be8fc
[2.2.x] Fixed CVE-2021-33571 -- Prevented leading zeros in IPv4 addre… · django/django@f27c38a · GitHub
-
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV/
[SECURITY] Fedora 35 Update: python-django-3.2.12-1.fc35 - package-announce - Fedora Mailing-Lists
-
https://github.com/django/django/commit/203d4ab9ebcd72fc4d6eb7398e66ed9e474e118e
[3.1.x] Fixed CVE-2021-33571 -- Prevented leading zeros in IPv4 addre… · django/django@203d4ab · GitHub
Jump to