Skip to main content
No exploitation reportedFix available

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?

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
  1. 2021-02-1513:15CVE publishedNVD

Versions per branch

NVD · OSV
Python
BranchAffectedFixed in
3.9≥ 3.9.0, < 3.9.23.9.2
3.8≥ 3.8.0, < 3.8.83.8.8
3.7≥ 3.7.0, < 3.7.103.7.10
3.6< 3.6.133.6.13
Django
BranchAffectedFixed in
3.1≥ 3.1, < 3.1.73.1.7
3.1≥ 3.1.0, < 3.1.73.1.7
3.0≥ 3.0, < 3.0.133.0.13
3.0≥ 3.0.0, < 3.0.133.0.13
2.2≥ 2.2, < 2.2.192.2.19
2.2≥ 2.2.0, < 2.2.192.2.19
Fedoraproject fedora
BranchAffectedFixed in
32.x= 32no fix published
33.x= 33no fix published
34.x= 34no fix published

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/cpython
    Affected
    • = 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

  • CVE-2021-23336 Red Hat Product Security765 products fixed · 43 known affected

    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

  • ICSA-23-348-10 CISA5 known affected

    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 Siemens ProductCERT5 known affected

    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

  • RHSA-2021:4162 Red Hat Product Security239 products fixed

    Red Hat Security Advisory: python38:3.8 and python38-devel:3.8 security update

  • RHSA-2021:4151 Red Hat Product Security264 products fixed

    Red Hat Security Advisory: python27:2.7 security update

  • RHSA-2021:3252 Red Hat Product Security80 products fixed

    Red Hat Security Advisory: python27 security update

2 more advisories

Full record on NVD

Fix

  1. Update Python to 3.9.2 · 3.8.8 · 3.7.10 · 3.6.13
  2. Vendor fix CISA ICSA-23-348-10 · 5 productsUpdate to V3.1.5 or later version
  3. Vendor fix Siemens ProductCERT SSA-398330 · 1 productUpdate to V3.1.5 or later version
  4. 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
  5. Mitigation from the vendor CISA ICSA-23-348-10 · 5 productsOnly build and run applications from trusted sources.
  6. No fix available, says the vendor Red Hat Product Security CVE-2021-23336 · 2 productsFix deferred
  7. No fix planned, says the vendor Red Hat Product Security CVE-2021-23336 · 29 productsOut of support scope

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
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

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?

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.

Is CVE-2021-23336 actively exploited?

Active exploitation of CVE-2021-23336 has not been confirmed. Its EPSS score was 41.1% on 2026-11-25, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2021-23336?

CVE-2021-23336 has a CVSS v3 base score of 5.9 (Medium severity), with vector string 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.

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

Sources for this record