Cache poisoning via semicolon parameter cloaking
Published Feb 15, 2021 · Updated Dec 17, 2025
Web cache poisoning in affected CPython releases allows remote attackers to alter cached responses through semicolon-delimited queries. urllib.parse.parse_qs and parse_qsl treat both semicolons and ampersands as query separators, while common proxies key only ampersand-delimited parameters. Affected releases precede 3.6.13, 3.7.10, 3.8.8, and 3.9.2; exploitation requires a consuming application behind a cache that omits the cloaked parameter from its key.
Summary
What happened
Web cache poisoning in affected CPython releases allows remote attackers to alter cached responses through semicolon-delimited queries. urllib.parse.parse_qs and parse_qsl treat both semicolons and ampersands as query separators, while common proxies key only ampersand-delimited parameters. Affected releases precede 3.6.13, 3.7.10, 3.8.8, and 3.9.2; exploitation requires a consuming application behind a cache that omits the cloaked parameter from its key.
The record
- CVE
- CVE-2021-23336
- Published
- Feb 15, 2021
- Updated
- Dec 17, 2025
- Vendor
- Python Software Foundation
- Product
- CPython
- Classifications
- CWE-444, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Feb 15, 2021CVE publishedPublication date reported by the CVE source.
- Dec 17, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <unspecified
- Affected versionversion=3.7.0 <unspecified
- Affected versionversion=3.8.0 <unspecified
- Affected versionversion=3.9.0 <unspecified
- Affected versionversion=unspecified <3.6.13
- Affected versionversion=unspecified <3.7.10
- Affected versionversion=unspecified <3.8.8
- Affected versionversion=unspecified <3.9.2
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Semicolon parameter-cloaking demonstrationproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo