CVE-2021-23336
Last modified
CVE-2021-23336 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. The package python/cpython from 0 and before 3.6.13, from 3.7.0 and before 3.7.10, from 3.8.0 and before 3.8.8, from 3.9.0 and before 3.9.2 are vulnerable to Web Cache Poisoning via urllib.parse.parse_qsl and urllib.parse.parse_qs by using a vector called parameter cloaking. When the attacker can separate query parameters using a semicolon (;), they can cause a difference in the interpretation of the request between the proxy (running with default configuration) and the server. EPSS estimates a 35.96% chance of exploitation in the next 30 days.
Description
The package python/cpython from 0 and before 3.6.13, from 3.7.0 and before 3.7.10, from 3.8.0 and before 3.8.8, from 3.9.0 and before 3.9.2 are vulnerable to Web Cache Poisoning via urllib.parse.parse_qsl and urllib.parse.parse_qs by using a vector called parameter cloaking. When the attacker can separate query parameters using a semicolon (;), they can cause a difference in the interpretation of the request between the proxy (running with default configuration) and the server. This can result in malicious requests being cached as completely safe ones, as the proxy would usually not see the semicolon as a separator, and therefore would not include it in a cache key of an unkeyed parameter.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Python | Python | < 3.6.13 |
| Python | Python | >= 3.7.0, < 3.7.10 |
| Python | Python | >= 3.8.0, < 3.8.8 |
| Python | Python | >= 3.9.0, < 3.9.2 |
| Fedoraproject | Fedora | 32 |
| Fedoraproject | Fedora | 33 |
| Fedoraproject | Fedora | 34 |
| Debian | Debian Linux | 9.0 |
| Netapp | Cloud Backup | All versions |
| Netapp | Inventory Collect Tool | All versions |
| Netapp | Ontap Select Deploy Administration Utility | All versions |
| Netapp | Snapcenter | All versions |
| Djangoproject | Django | >= 2.2, < 2.2.19 |
| Djangoproject | Django | >= 3.0, < 3.0.13 |
| Djangoproject | Django | >= 3.1, < 3.1.7 |
| Oracle | Communications Offline Mediation Controller | 12.0.0.3.0 |
| Oracle | Communications Pricing Design Center | 12.0.0.3.0 |
| Oracle | Enterprise Manager Ops Center | 12.4.0.0 |
| Oracle | Zfs Storage Appliance | 8.8 |
References
- http://www.openwall.com/lists/oss-security/2021/02/19/4Mailing List, Patch, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2021/05/01/2Mailing List, Third Party Advisory
- https://github.com/python/cpython/pull/24297Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/02/msg00030.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/04/msg00005.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/04/msg00015.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202104-04Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210326-0004/Third Party Advisory
- https://snyk.io/blog/cache-poisoning-in-popular-open-source-packages/Technical Description, Third Party Advisory
- https://snyk.io/vuln/SNYK-UPSTREAM-PYTHONCPYTHON-1074933Exploit, Third Party Advisory
- https://www.oracle.com//security-alerts/cpujul2021.htmlPatch, Third Party Advisory
- https://www.oracle.com/security-alerts/cpuApr2021.htmlPatch, Third Party Advisory
- https://www.oracle.com/security-alerts/cpujan2022.htmlPatch, Third Party Advisory
- https://www.oracle.com/security-alerts/cpuoct2021.htmlPatch, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2021/02/19/4Mailing List, Patch, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2021/05/01/2Mailing List, Third Party Advisory
- https://github.com/python/cpython/pull/24297Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/02/msg00030.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/04/msg00005.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/04/msg00015.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202104-04Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210326-0004/Third Party Advisory
- https://snyk.io/blog/cache-poisoning-in-popular-open-source-packages/Technical Description, Third Party Advisory
- https://snyk.io/vuln/SNYK-UPSTREAM-PYTHONCPYTHON-1074933Exploit, Third Party Advisory
- https://www.oracle.com//security-alerts/cpujul2021.htmlPatch, Third Party Advisory
- https://www.oracle.com/security-alerts/cpuApr2021.htmlPatch, Third Party Advisory
- https://www.oracle.com/security-alerts/cpujan2022.htmlPatch, Third Party Advisory
- https://www.oracle.com/security-alerts/cpuoct2021.htmlPatch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-23336?
How severe is CVE-2021-23336?
How do I fix CVE-2021-23336?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-23329The package nested-object-assign before 1.0.4 are vulnerable…7.5
- CVE-2021-2333Vulnerability in the Oracle XML DB component of Oracle Datab…4.9
- CVE-2021-23330All versions of package launchpad are vulnerable to Command …9.8
- CVE-2021-23331This affects all versions of package com.squareup:connect. T…3.3
- CVE-2021-23334Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2021-23335All versions of package is-user-valid are vulnerable to LDAP…7.5
- CVE-2021-23337Lodash versions prior to 4.17.21 are vulnerable to Command I…7.2
- CVE-2021-23338This affects all versions of package qlib. The workflow func…7.2
- CVE-2021-23339This affects all versions before 10.1.14 and from 10.2.0 to …6.5
- CVE-2021-2334Vulnerability in the Oracle Database - Enterprise Edition Da…3.5
- CVE-2021-23340This affects the package pimcore/pimcore before 6.8.8. A Loc…7.1
- CVE-2021-23341The package prismjs before 1.23.0 are vulnerable to Regular …7.5
Are you affected by CVE-2021-23336?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
