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
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
Fixed in:7.3.3+dfsg-3CVE-2021-23336
python-djangoUbuntu
Fixed in:1:1.11.11-1ubuntu1.11USN-4742-1
Fixed in:2:2.2.12-1ubuntu0.4USN-4742-1
python3-djangoUbuntu
Fixed in:1:1.11.11-1ubuntu1.11USN-4742-1
Fixed in:2:2.2.12-1ubuntu0.4USN-4742-1
Python 2Windows application
Affected:3.7.0 3.7.10Fixed in:3.7.10Python 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.8.0 3.8.8Fixed in:3.8.8Python Software Foundation
Python 3.10Windows 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.11Windows application
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
Affected:3.8.0 3.8.8Fixed in:3.8.8Python Software Foundation
Affected:3.6.13Fixed in:3.6.13Python Software Foundation
Python 3.12Windows application
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.6.13Fixed in:3.6.13Python Software Foundation
Affected:3.7.0 3.7.10Fixed in:3.7.10Python Software Foundation
Python 3.8Windows application
Affected:3.7.0 3.7.10Fixed in:3.7.10Python 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.8.0 3.8.8Fixed in:3.8.8Python Software Foundation
Python 3.9Windows 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.7.0 3.7.10Fixed in:3.7.10Python Software Foundation
Affected:3.9.0 3.9.2Fixed in:3.9.2Python 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.598%KEV + Ransom-
CVE-2020-9490High7.590%-Fix
CVE-2023-41265Critical9.684%KEV + Ransom-
CVE-2023-25690Critical9.884%-Fix
CVE-2022-32214Medium6.581%-Fix

Common questions

How do I fix CVE-2021-23336?

Published advisories record a fix for 9 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 pypy3 (Debian), python-django (Ubuntu), python3-django (Ubuntu), Python 2 (Windows application), and 5 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>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart 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 2025-12-17.