CVE-2021-23336
No exploitation reported by the sources we read.
- Published2021-02-15
- Fixed in3.9.2 · 3.8.8 · 3.7.10 · 3.6.13
- WeaknessCWE-444
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2021-02-1513:15CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 3.9 | ≥ 3.9.0, < 3.9.2 | 3.9.2 | NVD · OSV |
| 3.8 | ≥ 3.8.0, < 3.8.8 | 3.8.8 | NVD · OSV |
| 3.7 | ≥ 3.7.0, < 3.7.10 | 3.7.10 | NVD · OSV |
| 3.6 | < 3.6.13 | 3.6.13 | NVD · OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 3.1 | ≥ 3.1, < 3.1.7 | 3.1.7 | NVD |
| 3.1 | ≥ 3.1.0, < 3.1.7 | 3.1.7 | OSV |
| 3.0 | ≥ 3.0, < 3.0.13 | 3.0.13 | NVD |
| 3.0 | ≥ 3.0.0, < 3.0.13 | 3.0.13 | OSV |
| 2.2 | ≥ 2.2, < 2.2.19 | 2.2.19 | NVD |
| 2.2 | ≥ 2.2.0, < 2.2.19 | 2.2.19 | OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 32.x | = 32 | no fix published | NVD |
| 33.x | = 33 | no fix published | NVD |
| 34.x | = 34 | no fix published | NVD |
9 more products in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As snyk, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- python/cpythonAffected
- = 0no fix statedcustom
- < 3.6.13fixed in 3.6.13custom
- = 3.7.0no fix statedcustom
- < 3.7.10fixed in 3.7.10custom
- = 3.8.0no fix statedcustom
- < 3.8.8fixed in 3.8.8custom
- = 3.9.0no fix statedcustom
- < 3.9.2fixed in 3.9.2custom
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2023-09-20
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- ardana-cobblerSUSE:OpenStack Cloud 8all versions · fixed in 8.0+git.1614096566.e8c2b27-3.44.3
- ardana-cobblerSUSE:HPE Helion OpenStack 8all versions · fixed in 8.0+git.1614096566.e8c2b27-3.44.3
- ardana-neutronSUSE:OpenStack Cloud 9all versions · fixed in 9.0+git.1615223676.777f0b3-3.25.2
- ardana-swiftSUSE:OpenStack Cloud 9all versions · fixed in 9.0+git.1618235096.90974ed-3.10.2
- babelTuxCare:CentOS:8.4all versions · fixed in 2.5.1-9.module_el8.4.0+2014+0b56c8deand 1 other package
- babelRocky Linux:8all versions · fixed in 0:2.5.1-10.module+el8.5.0+706+735ec4b3
- babelRocky Linux:8all versions · fixed in 0:2.7.0-11.module+el8.5.0+672+ab6eb015
- babelRed Hat:enterprise_linux:8::appstreamall versions · fixed in 0:2.5.1-10.module+el8.5.0+11014+88fc0d0band 1 other package
557 more package ranges on OSV.dev
Vendor advisories
python: Web cache poisoning via urllib.parse.parse_qsl and urllib.parse.parse_qs by using a semicolon in query parameters
python-django-bash-completion as a component of Red Hat Ceph Storage 2 · python-django.src as a component of Red Hat Ceph Storage 2 · python-django-bash-completion as a component of Red Hat Ceph Storage 3 · +40 more
Siemens SIMATIC S7-1500
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) · SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) · SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) · +2 more
SSA-398330: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP >= V3.1.0 and < V3.1.5
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= V3.1.0 < V3.1.5 · SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= V3.1.0 < V3.1.5 · SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= V3.1.0 < V3.1.5 · +2 more
Red Hat Security Advisory: python38:3.8 and python38-devel:3.8 security update
Red Hat Security Advisory: python27:2.7 security update
Red Hat Security Advisory: python27 security update
2 more advisories
Fix
- Update Python to 3.9.2 · 3.8.8 · 3.7.10 · 3.6.13
- Vendor fix CISA ICSA-23-348-10 · 5 productsUpdate to V3.1.5 or later version
- Vendor fix Siemens ProductCERT SSA-398330 · 1 productUpdate to V3.1.5 or later version
- Vendor fix Red Hat Product Security RHSA-2021:4162 · 239 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Mitigation from the vendor CISA ICSA-23-348-10 · 5 productsOnly build and run applications from trusted sources.
- No fix available, says the vendor Red Hat Product Security CVE-2021-23336 · 2 productsFix deferred
- No fix planned, says the vendor Red Hat Product Security CVE-2021-23336 · 29 productsOut of support scope
Advisories and patches
- www.openwall.comPatch
- github.comPatch
- www.oracle.comPatch
- www.oracle.comPatch
- www.oracle.comPatch
- www.oracle.comPatch
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-26
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionnone2025-12-17
- CNACVSS 3.15.9known since 2026-10-23
- NVDCVSS 3.15.9read 2026-10-23
- NVDCVSS 2.04read 2026-10-23
- CISA-ADPweakness (CWE)CWE-4442025-12-17
- NVDweakness (CWE)CWE-444read 2026-10-23
- FIRST EPSSEPSS score41.1 %read 2026-11-26
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- AZL-109632same flawAzure Linux · MIT
- AZL-6827same flawAzure Linux · MIT
- AZL-84275same flawAzure Linux · MIT
- BIT-django-2021-23336same flawBitnami · Apache-2.0
- BIT-libpython-2021-23336same flawBitnami · Apache-2.0
- BIT-python-2021-23336same flawBitnami · Apache-2.0
- BIT-python-min-2021-23336same flawBitnami · Apache-2.0
- EUVD-2021-10423same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-4qjw-vx62-3vqxsame flawGitHub Advisory Database · CC-BY-4.0
- PSF-2021-1same flawPython Software Foundation · CC-BY-4.0
- ALSA-2021:4151advisory covering several CVEsAlmaLinux · MIT
- ALSA-2021:4162advisory covering several CVEsAlmaLinux · MIT
- DLA-2569-1advisory covering several CVEsDebian · LicenseRef-unstated
- DLA-2619-1advisory covering several CVEsDebian · LicenseRef-unstated
- DLA-2628-1advisory covering several CVEsDebian · LicenseRef-unstated
- DLA-3164-1advisory covering several CVEsDebian · LicenseRef-unstated
- DLA-3575-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2021-0135advisory covering several CVEsMageia · LicenseRef-unstated
- MGASA-2021-0165advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2021-1125advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2021:0435-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:11202-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:11279-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:11283-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:11284-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:11285-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:11286-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:12089-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:12910-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:14037-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:14109-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:14434-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2025:15713-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2026:11589-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2026:11948-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2021:1633advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2021:3252advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2021:3254advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2021:4151advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2021:4162advisory covering several CVEsRed Hat · CC-BY-4.0
- RLSA-2021:4151advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2021:4162advisory covering several CVEsRocky Linux · BSD-3-Clause
- SUSE-SU-2021:0768-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:0794-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:0886-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:0887-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:0947-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:1962-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:2554-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-4742-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H/E:P/RL:U/RC:C
- Published
- 2021-02-15
- Last modified
- 2026-10-14
- NVD status
- Modified
- GitHub advisory
- GHSA-4qjw-vx62-3vqx
Frequently asked questions
What is CVE-2021-23336?
Is CVE-2021-23336 actively exploited?
What is the CVSS score for CVE-2021-23336?
Running Python? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CISA ICS advisories (CSAF) · Public domain (US Government work)
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-4qjw-vx62-3vqx
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- Siemens ProductCERT (CSAF) · TLP:WHITE (commercial use and redistribution granted)
- CISA Vulnrichment · CC0-1.0