# CVE-2021-23336: Web Cache Poisoning

- Severity: Medium 5.9 (CVSS:3.1, scored by snyk) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 41.1%, higher than 98% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-02-15T00:00:00.000Z
- Modified: 2026-10-14T12:17:09.467Z
- Also known as: PSF-2021-1, BIT-DJANGO-2021-23336, BIT-LIBPYTHON-2021-23336, BIT-PYTHON-2021-23336, BIT-PYTHON-MIN-2021-23336, SNYK-UPSTREAM-PYTHONCPYTHON-1074933
- Weaknesses: CWE-444
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: snyk

## 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.

(As written by CVE List.)

## Affected

- python/cpython: before unspecified; from unspecified before 3.6.13; from 3.7.0 before unspecified; from unspecified before 3.7.10; from 3.8.0 before unspecified; from unspecified before 3.8.8; from 3.9.0 before unspecified; from unspecified before 3.9.2
- https://github.com/python/cpython: before 5c17dfc5d70ce88be99bc5769b91ce79d7a90d61; before c9f07813ab8e664d8c34413c4fc2d4f86c061a92; before d0d4d30882fe3ab9b1badbecf5d15d94326fd13e; before e3110c3cfbb7daa690d54d0eff6c264c870a71bf; before fcbe0cb04d35189401c0c880ebfb4311e952d776
- python python: before 3.6.13; from 3.7.0 before 3.7.10; from 3.8.0 before 3.8.8; from 3.9.0 before 3.9.2
- fedoraproject fedora: 32; 33; 34
- debian debian_linux: 9.0
- netapp cloud_backup: no versions given
- netapp inventory_collect_tool: no versions given
- netapp ontap_select_deploy_administration_utility: no versions given
- netapp snapcenter: no versions given
- djangoproject django: from 2.2 before 2.2.19; from 3.0 before 3.0.13; from 3.1 before 3.1.7
- oracle communications_offline_mediation_controller: 12.0.0.3.0
- oracle communications_pricing_design_center: 12.0.0.3.0
- oracle enterprise_manager_ops_center: 12.4.0.0
- oracle zfs_storage_appliance: 8.8
- django (Bitnami): from 2.2.0 before 2.2.19; from 3.0.0 before 3.0.13; from 3.1.0 before 3.1.7
- libpython (Bitnami): before 3.6.13; from 3.7.0 before 3.7.10; from 3.8.0 before 3.8.8; from 3.9.0 before 3.9.2
- python (Bitnami): before 3.6.13; from 3.7.0 before 3.7.10; from 3.8.0 before 3.8.8; from 3.9.0 before 3.9.2
- python-min (Bitnami): before 3.6.13; from 3.7.0 before 3.7.10; from 3.8.0 before 3.8.8; from 3.9.0 before 3.9.2

## Every score

- snyk: 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/E:P/RL:U/RC:C`
- NVD: 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`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:H/Au:N/C:N/I:P/A:P`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://snyk.io/vuln/SNYK-UPSTREAM-PYTHONCPYTHON-1074933> (exploit, advisory, third-party-advisory)
- <https://github.com/python/cpython/pull/24297> (advisory, patch, third-party-advisory)
- <https://snyk.io/blog/cache-poisoning-in-popular-open-source-packages/> (advisory, technical-description, third-party-advisory, web)
- <http://www.openwall.com/lists/oss-security/2021/02/19/4> (advisory, mailing-list, patch, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2021/02/msg00030.html> (advisory, mailing-list, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HCQTCSP6SCVIYNIRUJC5X7YBVUHPLSC4/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NODWHDIFBQE5RU5PUWUVE47JOT5VCMJ2/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MP572OLHMS7MZO4KUPSCIMSZIA5IZZ62/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MNUN5SOMFL2BBKP6ZAICIIUPQKZDMGYO/> (vendor-advisory, web)
- <https://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772%40%3Cdev.mina.apache.org%3E> (mailing-list, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FONHJIOZOFD7CD35KZL6SVBUTMBPGZGA/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KJXCMHLY7H3FIYLE4OKDYUILU2CCRUCZ/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3YKKDLXL3UEZ3J426C2XTBS63AHE46SM/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TFTELUMWZE3KV3JB2H5EE6VFRZFRD5MV/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OAGSWNGZJ6HQ5ISA67SNMK3CJRKICET7/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NJSCSN722JO2E2AGPWD4NTGVELVRPB4R/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HZTM7KLHFCE3LWSEVO2NAFLUHMGYMCRY/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3EPYWWFDV22CJ5AOH5VCE72DOASZZ255/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IHQDU7NXA7EWAE4W7VO6MURVJIULEPPR/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W2LSKBEFI5SYEY5FM6ICZVZM5WRQUCS4/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/46N6A52EGSXHJYCZWVMBJJIH4NWIV2B5/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LVNH6Z24IG3E67ZCQGGJ46FZB4XFLQNZ/> (vendor-advisory, web)
- <https://lists.debian.org/debian-lts-announce/2021/04/msg00005.html> (advisory, mailing-list, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2021/04/msg00015.html> (advisory, mailing-list, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N6VXJZSZ6N64AILJX4CTMACYGQGHHD5C/> (vendor-advisory, web)
- <https://security.gentoo.org/glsa/202104-04> (advisory, third-party-advisory, vendor-advisory)
- <https://lists.apache.org/thread.html/ra8ce70088ba291f358e077cafdb14d174b7a1ce9a9d86d1b332d6367%40%3Cusers.airflow.apache.org%3E> (mailing-list, web)
- <http://www.openwall.com/lists/oss-security/2021/05/01/2> (advisory, mailing-list, third-party-advisory)
- <https://lists.apache.org/thread.html/rc005f4de9d9b0ba943ceb8ff5a21a5c6ff8a9df52632476698d99432%40%3Cannounce.apache.org%3E> (mailing-list, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SGIY6I4YS3WOXAK4SXKIEOC2G4VZKIR7/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RSLQD5CCM75IZGAMBDGUZEATYU5YSGJ7/> (vendor-advisory, web)
- <https://www.oracle.com/security-alerts/cpuApr2021.html> (advisory, patch, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20210326-0004/> (advisory, third-party-advisory)
- <https://www.oracle.com//security-alerts/cpujul2021.html> (advisory, patch, third-party-advisory)
- <https://www.oracle.com/security-alerts/cpuoct2021.html> (advisory, patch, third-party-advisory)
- <https://www.oracle.com/security-alerts/cpujan2022.html> (advisory, patch, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2023/09/msg00022.html> (mailing-list, web)
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>
- <https://bugs.python.org/issue42967> (report)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-23336> (web)

## Sources

- CVE List: [CVE-2021-23336](https://www.cve.org/CVERecord?id=CVE-2021-23336), CVE Terms of Use, modified 2026-10-14
- Python Software Foundation: [PSF-2021-1](https://osv.dev/vulnerability/PSF-2021-1), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-23336](https://nvd.nist.gov/vuln/detail/CVE-2021-23336), Public domain, modified 2026-10-14
- Bitnami Vulnerability Database: [BIT-DJANGO-2021-23336](https://osv.dev/vulnerability/BIT-DJANGO-2021-23336), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-LIBPYTHON-2021-23336](https://osv.dev/vulnerability/BIT-LIBPYTHON-2021-23336), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-PYTHON-2021-23336](https://osv.dev/vulnerability/BIT-PYTHON-2021-23336), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-PYTHON-MIN-2021-23336](https://osv.dev/vulnerability/BIT-PYTHON-MIN-2021-23336), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-23336 · Whole record: https://cve.day/CVE-2021-23336.json · Rebuilt by cve.day 2026-11-25T22:57:59.948Z
