CVE-2021-23336
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.
Description as published by the source, in English.
Key facts
- Published
- 2021-02-15
- Last modified
- 2026-10-14
- Assigned by
- report@snyk.io
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
35.7 %
higher than 98 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Debian | Debian Linux | 9.0 | Affected |
| Djangoproject | Django | ≥ 2.2, < 2.2.19 | Affected |
| Djangoproject | Django | ≥ 3.0, < 3.0.13 | Affected |
| Djangoproject | Django | ≥ 3.1, < 3.1.7 | Affected |
| Fedoraproject | Fedora | 32 | Affected |
| Fedoraproject | Fedora | 33 | Affected |
| Fedoraproject | Fedora | 34 | Affected |
| Netapp | Cloud Backup | all versions listed | Affected |
| Netapp | Inventory Collect Tool | all versions listed | Affected |
| Netapp | Ontap Select Deploy Administration Utility | all versions listed | Affected |
| Netapp | Snapcenter | all versions listed | Affected |
| Oracle | Communications Offline Mediation Controller | 12.0.0.3.0 | Affected |
| Oracle | Communications Pricing Design Center | 12.0.0.3.0 | Affected |
| Oracle | Enterprise Manager Ops Center | 12.4.0.0 | Affected |
| Oracle | Zfs Storage Appliance | 8.8 | Affected |
| Python | Python | < 3.6.13 | Affected |
| Python | Python | ≥ 3.7.0, < 3.7.10 | Affected |
| Python | Python | ≥ 3.8.0, < 3.8.8 | Affected |
| Python | Python | ≥ 3.9.0, < 3.9.2 | Affected |
Weakness type
-
CWE-444: Inconsistent Interpretation of HTTP Requests
The product acts as an intermediary HTTP agent (such as a proxy or firewall) in the data flow between two entities such as a client and server, but it does not interpret malformed HTTP requests or responses in ways that…
References
- http://www.openwall.com/lists/oss-security/2021/02/19/4
- http://www.openwall.com/lists/oss-security/2021/05/01/2
- https://github.com/python/cpython/pull/24297
- https://lists.debian.org/debian-lts-announce/2021/02/msg00030.html
- https://lists.debian.org/debian-lts-announce/2021/04/msg00005.html
- https://lists.debian.org/debian-lts-announce/2021/04/msg00015.html
- https://security.gentoo.org/glsa/202104-04
- https://security.netapp.com/advisory/ntap-20210326-0004/
- https://snyk.io/blog/cache-poisoning-in-popular-open-source-packages/
- https://snyk.io/vuln/SNYK-UPSTREAM-PYTHONCPYTHON-1074933
- https://www.oracle.com//security-alerts/cpujul2021.html
- https://www.oracle.com/security-alerts/cpuApr2021.html
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://www.oracle.com/security-alerts/cpuoct2021.html
- http://www.openwall.com/lists/oss-security/2021/02/19/4
- http://www.openwall.com/lists/oss-security/2021/05/01/2
- https://github.com/python/cpython/pull/24297
- https://lists.debian.org/debian-lts-announce/2021/02/msg00030.html
- https://lists.debian.org/debian-lts-announce/2021/04/msg00005.html
- https://lists.debian.org/debian-lts-announce/2021/04/msg00015.html
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.