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?
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
