CVE & CISA-KEV Catalog

CVE-2021-23336

MEDIUMEPSS 98th pctl
5.9
CVSS v3
NVD

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.

How to fix

Remediation Available
pythonAmazon
Fixed in:0:2.7.18-1.amzn2.0.5
Fixed in:0:2.7.18-1.amzn2.0.5
Fixed in:0:2.7.18-1.amzn2.0.5
python-debugAmazon
Fixed in:0:2.7.18-1.amzn2.0.5
Fixed in:0:2.7.18-1.amzn2.0.5
Fixed in:0:2.7.18-1.amzn2.0.5
python-debuginfoAmazon
Fixed in:0:2.7.18-1.amzn2.0.5
Fixed in:0:2.7.18-1.amzn2.0.5
Fixed in:0:2.7.18-1.amzn2.0.5
python-develAmazon
Fixed in:0:2.7.18-1.amzn2.0.5
Fixed in:0:2.7.18-1.amzn2.0.5
Fixed in:0:2.7.18-1.amzn2.0.5
python-libsAmazon
Fixed in:0:2.7.18-1.amzn2.0.5
Fixed in:0:2.7.18-1.amzn2.0.5
Fixed in:0:2.7.18-1.amzn2.0.5
python-testAmazon
Fixed in:0:2.7.18-1.amzn2.0.5
Fixed in:0:2.7.18-1.amzn2.0.5
Fixed in:0:2.7.18-1.amzn2.0.5
python-toolsAmazon
Fixed in:0:2.7.18-1.amzn2.0.5
Fixed in:0:2.7.18-1.amzn2.0.5
Fixed in:0:2.7.18-1.amzn2.0.5
python3Amazon
Fixed in:0:3.7.9-1.amzn2.0.3
Fixed in:0:3.7.9-1.amzn2.0.3
Fixed in:0:3.7.9-1.amzn2.0.3
python3-debugAmazon
Fixed in:0:3.7.9-1.amzn2.0.3
Fixed in:0:3.7.9-1.amzn2.0.3
Fixed in:0:3.7.9-1.amzn2.0.3
python3-debuginfoAmazon
Fixed in:0:3.7.9-1.amzn2.0.3
Fixed in:0:3.7.9-1.amzn2.0.3
Fixed in:0:3.7.9-1.amzn2.0.3
python3-develAmazon
Fixed in:0:3.7.9-1.amzn2.0.3
Fixed in:0:3.7.9-1.amzn2.0.3
Fixed in:0:3.7.9-1.amzn2.0.3
python3-libsAmazon
Fixed in:0:3.7.9-1.amzn2.0.3
Fixed in:0:3.7.9-1.amzn2.0.3
Fixed in:0:3.7.9-1.amzn2.0.3
python3-testAmazon
Fixed in:0:3.7.9-1.amzn2.0.3
Fixed in:0:3.7.9-1.amzn2.0.3
Fixed in:0:3.7.9-1.amzn2.0.3
python3-tkinterAmazon
Fixed in:0:3.7.9-1.amzn2.0.3
Fixed in:0:3.7.9-1.amzn2.0.3
Fixed in:0:3.7.9-1.amzn2.0.3
python3-toolsAmazon
Fixed in:0:3.7.9-1.amzn2.0.3
Fixed in:0:3.7.9-1.amzn2.0.3
Fixed in:0:3.7.9-1.amzn2.0.3
tkinterAmazon
Fixed in:0:2.7.18-1.amzn2.0.5
Fixed in:0:2.7.18-1.amzn2.0.5
Fixed in:0:2.7.18-1.amzn2.0.5
pypy3Debian
Fixed in:7.3.3+dfsg-3CVE-2021-23336
Fixed in:7.3.3+dfsg-3CVE-2021-23336
Fixed in:7.3.3+dfsg-3CVE-2021-23336
python-djangoUbuntu
Fixed in:1:1.11.11-1ubuntu1.11USN-4742-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

Fixed in:2:2.2.12-1ubuntu0.4USN-4742-1

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

python3-djangoUbuntu
Fixed in:1:1.11.11-1ubuntu1.11USN-4742-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

Fixed in:2:2.2.12-1ubuntu0.4USN-4742-1

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

Python 2Windows application
Affected:3.8.0 3.8.8Fixed in:3.8.8Python Software Foundation
Affected:3.6.13Fixed in:3.6.13Python Software Foundation
Affected:3.9.0 3.9.2Fixed in:3.9.2Python Software Foundation
Affected:3.7.0 3.7.10Fixed in:3.7.10Python Software Foundation
Python 3.10Windows application
Affected:3.6.13Fixed in:3.6.13Python Software Foundation
Affected:3.8.0 3.8.8Fixed in:3.8.8Python Software Foundation
Affected:3.9.0 3.9.2Fixed in:3.9.2Python Software Foundation
Affected:3.7.0 3.7.10Fixed in:3.7.10Python Software Foundation
Python 3.11Windows application
Affected:3.9.0 3.9.2Fixed in:3.9.2Python Software Foundation
Affected:3.6.13Fixed in:3.6.13Python Software Foundation
Affected:3.7.0 3.7.10Fixed in:3.7.10Python Software Foundation
Affected:3.8.0 3.8.8Fixed in:3.8.8Python Software Foundation
Python 3.12Windows application
Affected:3.6.13Fixed in:3.6.13Python Software Foundation
Affected:3.9.0 3.9.2Fixed in:3.9.2Python Software Foundation
Affected:3.8.0 3.8.8Fixed in:3.8.8Python Software Foundation
Affected:3.7.0 3.7.10Fixed in:3.7.10Python Software Foundation
Python 3.8Windows application
Affected:3.6.13Fixed in:3.6.13Python Software Foundation
Affected:3.7.0 3.7.10Fixed in:3.7.10Python Software Foundation
Affected:3.8.0 3.8.8Fixed in:3.8.8Python Software Foundation
Affected:3.9.0 3.9.2Fixed in:3.9.2Python Software Foundation
Python 3.9Windows application
Affected:3.9.0 3.9.2Fixed in:3.9.2Python Software Foundation
Affected:3.6.13Fixed in:3.6.13Python Software Foundation
Affected:3.7.0 3.7.10Fixed in:3.7.10Python Software Foundation
Affected:3.8.0 3.8.8Fixed in:3.8.8Python Software Foundation

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityLow
AvailabilityHigh

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H

Exploit Intelligence

35.96%probability of exploitation in 30 days
98thpercentile

Very high risk: more likely to be exploited than 98% of all known CVEs.

References

Related Vulnerabilities

Other CWE-444 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2022-22536Critical10.098%KEV-
CVE-2025-61884High7.596%KEV + Ransom-
CVE-2020-9490High7.589%-Fix
CVE-2023-41265Critical9.688%KEV + Ransom-
CVE-2023-25690Critical9.885%-Fix
CVE-2022-32214Medium6.582%-Fix

Common questions

How do I fix CVE-2021-23336?

Published advisories record a fix for 25 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2021-23336 being actively exploited?

Not that we know of. CVE-2021-23336 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 36.0% is the estimated probability that it will be exploited in the next 30 days. That is higher than 98% of all scored CVEs.

How severe is CVE-2021-23336?

CVE-2021-23336 has a CVSS v3 base score of 5.9, rated medium. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2021-23336 affect?

Published advisories record a fix for python (Amazon), python-debug (Amazon), python-debuginfo (Amazon), python-devel (Amazon), and 21 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2021-23336
CVE-2021-23336 severity badge

Markdown

[![CVE-2021-23336](https://tridentstack.com/cve/badge/CVE-2021-23336.svg)](https://tridentstack.com/cve/CVE-2021-23336)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-23336"><img src="https://tridentstack.com/cve/badge/CVE-2021-23336.svg" alt="CVE-2021-23336"></a>

Check your Linux endpoints for this class of vulnerability

TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.

Patch your fleet freeStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-17.