CVE-2021-23336: Web Cache Poisoning

CVE-2021-23336 affects 130 listed versions of Python in the Dawnsentry catalogue.

5.9CVSS medium
None knownexploitation
41%EPSS (next 30 days)
15 February 2021published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Python

130 of 250 listed versions are affected. Fixed in 3.8.8, 3.7.10, 3.6.13. The newest release, 3.15.2, is not affected.

3.8.7 3.8.6 3.7.9 3.7.8 3.7.7 3.7.6 3.7.5 3.7.4 3.7.3 3.6.12 3.6.11 3.6.10 3.6.9 3.6.8 3.6.7 3.6.6 3.6.5 3.6.4 3.6.3 3.6.2 3.5.10 3.5.9 3.5.8 3.5.7 3.5.6 3.5.5 3.5.4 3.5.3 3.5.2 3.5.1 3.5.0 3.4.10 3.4.9 3.4.8 3.4.7 3.4.6 3.4.5 3.4.4 3.4.3 3.4.2 3.4.1 3.4.0 3.3.7 3.3.6 3.3.6-rc1 3.3.5 3.3.5-rc2 3.3.5-rc1 3.3.4 3.3.4-rc1 3.3.3 3.3.3-rc2 3.3.3-rc1 3.3.2 3.3.1 3.3.1-rc1 3.3.0 3.2.2150 3.2.6 3.2.5 and 70 more

What it is

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.

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

Published by Snyk on 15 February 2021. Last changed 14 October 2026.

Sources

Check one version you run: look CVE-2021-23336 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.