cve.bz

CVE-2021-23336 HTTP Request Smuggling

5.9 mediumExploit referenceEPSS 41%Fix available

Medium (5.9). EPSS 41% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.9 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H
EPSS
41% (unchanged from 41% a week ago; 41% 30 days ago) estimated probability of exploitation activity in the next 30 days; 99th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-12-17. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-444 Inconsistent Interpretation of HTTP Requests (HTTP Request Smuggling)
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-23336 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-23336?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-23336?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-23336 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2021-23336

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

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

HTML:

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

Affected

Versions

From the NVD's CPE matches.

ProductAffected
python:pythonbefore 3.6.13
python:pythonfrom 3.7.0 before 3.7.10
python:pythonfrom 3.8.0 before 3.8.8
python:pythonfrom 3.9.0 before 3.9.2
fedoraproject:fedora32
fedoraproject:fedora33
fedoraproject:fedora34
debian:debian_linux9.0
djangoproject:djangofrom 2.2 before 2.2.19
djangoproject:djangofrom 3.0 before 3.0.13
djangoproject:djangofrom 3.1 before 3.1.7
oracle:communications_offline_mediation_controller12.0.0.3.0
oracle:communications_pricing_design_center12.0.0.3.0
oracle:enterprise_manager_ops_center12.4.0.0
oracle:zfs_storage_appliance8.8

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9python-django1:1.10.7-2+deb9u11DLA-2569-1
Debian9python2.72.7.13-2+deb9u5DLA-2628-1
Debian9python3.53.5.3-1+deb9u4DLA-2619-1
Debian10python-django1:1.11.29-1+deb10u2DLA-3164-1
Debian10python2.72.7.16-2+deb10u3DLA-3575-1
Debian12, 13, 14pypy37.3.3+dfsg-3DEBIAN-CVE-2021-23336
Debian12, 13, 14python-django2:2.2.19-1DEBIAN-CVE-2021-23336
Ubuntu18.04:LTSpython-django1:1.11.11-1ubuntu1.11UBUNTU-CVE-2021-23336 USN-4742-1
Ubuntu20.04:LTSpython-django2:2.2.12-1ubuntu0.4UBUNTU-CVE-2021-23336 USN-4742-1
Ubuntu20.04:LTSpython3.93.9.5-3~20.04.1UBUNTU-CVE-2021-23336
Ubuntu22.04:LTSpython2.7no fix listedUBUNTU-CVE-2021-23336
UbuntuPro:14.04:LTSpython2.7, python3.4, python3.5no fix listedUBUNTU-CVE-2021-23336
UbuntuPro:16.04:LTSpython2.7, python3.5no fix listedUBUNTU-CVE-2021-23336
UbuntuPro:18.04:LTSpython2.7, python3.6, python3.7 and 1 moreno fix listedUBUNTU-CVE-2021-23336
UbuntuPro:20.04:LTSpython2.7, python3.8no fix listedUBUNTU-CVE-2021-23336
Red Hatenterprise_linux:8::appstreamCython, python2-Cython, Cython-debugsource and 1 more0:0.28.1-7.module+el8.1.0+3111+de3f2d8eRHSA-2021:4151
Red Hatenterprise_linux:8::appstreamCython, python38-Cython, Cython-debugsource and 1 more0:0.29.14-4.module+el8.4.0+8888+89bc7e79RHSA-2021:4162
Red Hatenterprise_linux:8::appstreamPyYAML, python2-pyyaml, PyYAML-debugsource and 1 more0:3.12-16.module+el8.1.0+3111+de3f2d8eRHSA-2021:4151
Red Hatenterprise_linux:8::appstreamPyYAML, python38-pyyaml, PyYAML-debugsource and 1 more0:5.4.1-1.module+el8.5.0+10721+14d8e0d5RHSA-2021:4162
Red Hatenterprise_linux:8::appstreambabel, python2-babel0:2.5.1-10.module+el8.5.0+11014+88fc0d0bRHSA-2021:4151
Red Hatenterprise_linux:8::appstreambabel, python38-babel0:2.7.0-11.module+el8.5.0+11015+9c1c7c42RHSA-2021:4162
Red Hatenterprise_linux:8::appstreammod_wsgi, python38-mod_wsgi0:4.6.8-3.module+el8.4.0+8888+89bc7e79RHSA-2021:4162
Red Hatenterprise_linux:8::appstreamnumpy, python2-numpy, numpy-debugsource and 3 more1:1.14.2-16.module+el8.4.0+9406+221a4565RHSA-2021:4151
Red Hatenterprise_linux:8::appstreamnumpy, python38-numpy, numpy-debugsource and 3 more0:1.17.3-6.module+el8.5.0+12205+a865257aRHSA-2021:4162
Red Hatenterprise_linux:8::appstreampytest, python2-pytest0:3.4.2-13.module+el8.1.0+3111+de3f2d8eRHSA-2021:4151
Red Hatenterprise_linux:8::appstreampython-PyMySQL, python2-PyMySQL0:0.8.0-10.module+el8.1.0+3111+de3f2d8eRHSA-2021:4151
Red Hatenterprise_linux:8::appstreampython-PyMySQL, python38-PyMySQL0:0.10.1-1.module+el8.4.0+9692+8e86ab84RHSA-2021:4162
80 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 12 morepython, python-base2.7.18-7.55.1SUSE-SU-2021:0768-1
SUSEHPE Helion OpenStack 8documentation-hpe-helion-openstack-user, documentation-hpe-helion-openstack-planning, documentation-hpe-helion-openstack-security and 3 more8.20210512-1.32.5SUSE-SU-2021:2554-1
SUSEHPE Helion OpenStack 8venv-openstack-horizon-hpe12.0.5~dev6-14.36.3SUSE-SU-2021:2554-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP2-LTSS and 13 morepython, python-doc, python-base2.7.18-28.67.1SUSE-SU-2021:0794-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8ardana-cobbler8.0+git.1614096566.e8c2b27-3.44.3SUSE-SU-2021:2554-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8venv-openstack-aodh5.1.1~dev7-12.32.3SUSE-SU-2021:2554-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8venv-openstack-barbican5.0.2~dev3-12.33.3SUSE-SU-2021:2554-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8venv-openstack-ceilometer9.0.8~dev7-12.30.3SUSE-SU-2021:2554-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8venv-openstack-cinder11.2.3~dev29-14.34.2SUSE-SU-2021:2554-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8venv-openstack-designate5.0.3~dev7-12.31.3SUSE-SU-2021:2554-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8venv-openstack-freezer5.0.0.0~xrc2~dev2-10.28.3SUSE-SU-2021:2554-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8venv-openstack-glance15.0.3~dev3-12.31.3SUSE-SU-2021:2554-1
72 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.2python, python-doc, python-base2.7.18-lp152.3.15.1openSUSE-SU-2021:0435-1
openSUSETumbleweedpython2.7.18-8.1openSUSE-SU-2024:11202-1
openSUSETumbleweedpython-w3lib1.22.0-2.4openSUSE-SU-2024:11279-1
openSUSETumbleweedpython-w3lib2.2.0-1.1openSUSE-SU-2024:14037-1
openSUSETumbleweedpython-w3lib2.5.0-1.1openSUSE-SU-2026:11948-1
openSUSETumbleweedpython-yarl1.24.5-1.1openSUSE-SU-2026:11589-1
openSUSETumbleweedpython3103.10.0rc1-4.2openSUSE-SU-2024:11283-1
openSUSETumbleweedpython3113.11.0b1-1.1openSUSE-SU-2024:12089-1
openSUSETumbleweedpython3123.12.0a7-1.1openSUSE-SU-2024:12910-1
openSUSETumbleweedpython3133.13.0~b3-1.1openSUSE-SU-2024:14109-1
openSUSETumbleweedpython3143.14.0~a1-1.1openSUSE-SU-2024:14434-1
openSUSETumbleweedpython3153.15.0~a1-1.1openSUSE-SU-2025:15713-1
3 more for openSUSE in the JSON and on openSUSE's page.
AlmaLinux8babel, python2-babel2.5.1-10.module_el8.6.0+2781+fed64c13ALSA-2021:4151
AlmaLinux8python-nose-docs1.3.7-31.module_el8.5.0+2569+5c5719bcALSA-2021:4151
AlmaLinux8python-sqlalchemy-doc1.3.2-2.module_el8.5.0+2569+5c5719bcALSA-2021:4151
AlmaLinux8python2-Cython0.28.1-7.module_el8.6.0+2781+fed64c13ALSA-2021:4151
AlmaLinux8python2-PyMySQL0.8.0-10.module_el8.6.0+2781+fed64c13ALSA-2021:4151
AlmaLinux8python2-attrs17.4.0-10.module_el8.6.0+2781+fed64c13ALSA-2021:4151
AlmaLinux8python2-backports1.0-16.module_el8.6.0+2781+fed64c13ALSA-2021:4151
AlmaLinux8python2-backports-ssl_match_hostname3.5.0.1-12.module_el8.6.0+2781+fed64c13ALSA-2021:4151
AlmaLinux8python2-bson, python2-pymongo, python2-pymongo-gridfs3.7.0-1.module_el8.6.0+2781+fed64c13ALSA-2021:4151
AlmaLinux8python2-chardet3.0.4-10.module_el8.6.0+2781+fed64c13ALSA-2021:4151
AlmaLinux8python2-coverage4.5.1-4.module_el8.6.0+2781+fed64c13ALSA-2021:4151
AlmaLinux8python2-dns1.15.0-10.module_el8.6.0+2781+fed64c13ALSA-2021:4151
63 more for AlmaLinux in the JSON.
Rocky Linux8Cython0:0.28.1-7.module+el8.4.0+403+9ae17a31RLSA-2021:4151
Rocky Linux8Cython0:0.28.1-7.module+el8.5.0+706+735ec4b3RLSA-2021:4151
Rocky Linux8Cython0:0.29.14-4.module+el8.4.0+570+c2eaf144RLSA-2021:4162
Rocky Linux8PyYAML0:3.12-16.module+el8.4.0+403+9ae17a31RLSA-2021:4151
Rocky Linux8PyYAML0:3.12-16.module+el8.5.0+706+735ec4b3RLSA-2021:4151
Rocky Linux8PyYAML0:5.4.1-1.module+el8.4.0+574+843c4898RLSA-2021:4162
Rocky Linux8PyYAML0:5.4.1-1.module+el8.5.0+672+ab6eb015RLSA-2021:4162
Rocky Linux8babel0:2.5.1-10.module+el8.5.0+706+735ec4b3RLSA-2021:4151
Rocky Linux8babel0:2.7.0-11.module+el8.5.0+672+ab6eb015RLSA-2021:4162
Rocky Linux8mod_wsgi0:4.6.8-3.module+el8.4.0+570+c2eaf144RLSA-2021:4162
Rocky Linux8numpy0:1.17.3-6.module+el8.5.0+672+ab6eb015RLSA-2021:4162
Rocky Linux8numpy1:1.14.2-16.module+el8.4.0+403+9ae17a31RLSA-2021:4151
7 more for Rocky Linux in the JSON.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The python2.7 component in Red Hat Enterprise Linux 9 is listed as not affected as it was removed prior to the release of RHEL-9.0.

The python3.9 component in Red Hat Enterprise Linux 9 is listed as not affected as a patched version was verified in RHEL-9.0 beta and the RHEL-9.0 GA release included this patched version.

The python36 component in the python36:3.6 module in Red Hat Enterprise Linux 8 is listed as not affected, as it does not contain Python interpreter or libraries. Packages of the python36 component only provide convenient links to the Python interpreter included in the non-modular python3 component's platform-python packages. Users of python36:3.6 module also need to check the entry for the python3 component to determine if their systems are affected.

Red Hat Ceph Storage (RHCS) 3 ships an older version of python-django without the directly affected function, but which is still vulnerable to a similar attack involving the semi colon separator. Hence, impact has been rated as Low.

Although Red Hat OpenStack Platform 13 & 16.1 both ship the affected code, since the proxy is controlled and configured by OpenStack, the impact has been lowered to Low. As a fix would require a substantial effort or commitment of time, no fix will be provided at this time.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8python3-0:3.6.8-37.el8Fixed 2021-05-18RHSA-2021:1633
Red Hat Enterprise Linux 8python27:2.7-8050020210811095446.3e7ace8bFixed 2021-11-09RHSA-2021:4151
Red Hat Enterprise Linux 8python38:3.8-8050020210811101222.e3d35ccaFixed 2021-11-09RHSA-2021:4162
Red Hat Enterprise Linux 8python38-devel:3.8-8050020210811101222.e3d35ccaFixed 2021-11-09RHSA-2021:4162
Red Hat Software Collections for Red Hat Enterprise Linux 7python27-babel-0:0.9.6-10.el7Fixed 2021-08-24RHSA-2021:3252
Red Hat Software Collections for Red Hat Enterprise Linux 7python27-python-0:2.7.18-3.el7Fixed 2021-08-24RHSA-2021:3252
Red Hat Software Collections for Red Hat Enterprise Linux 7python27-python-jinja2-0:2.6-16.el7Fixed 2021-08-24RHSA-2021:3252
Red Hat Software Collections for Red Hat Enterprise Linux 7python27-python-pygments-0:1.5-5.el7Fixed 2021-08-24RHSA-2021:3252
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-python38-babel-0:2.7.0-12.el7Fixed 2021-08-24RHSA-2021:3254
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-python38-python-0:3.8.11-2.el7Fixed 2021-08-24RHSA-2021:3254
Red Hat Ceph Storage 2python-djangoOut of support scope
Red Hat Ceph Storage 3python-djangoFix deferred
Red Hat Enterprise Linux 6pythonOut of support scope
Red Hat Enterprise Linux 7pythonOut of support scope
Red Hat Enterprise Linux 7python3Out of support scope
Red Hat Enterprise Linux 8python36:3.6/python36Not affected
Red Hat Enterprise Linux 8python39:3.9/python39Not affected
Red Hat Enterprise Linux 9python2.7Not affected
Red Hat Enterprise Linux 9python3.9Not affected
Red Hat OpenStack Platform 10 (Newton)python-djangoOut of support scope
22 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-23336.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-23-348-10Siemens SIMATIC S7-15002023-12-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC 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) and 2 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-33 HTTP Request Smuggling Likelihood: Medium · Severity: High
  • CAPEC-273 HTTP Response Smuggling Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON