{"id":"CVE-2021-23336","details":"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.","aliases":["BIT-django-2021-23336","BIT-libpython-2021-23336","BIT-python-2021-23336","BIT-python-min-2021-23336","PSF-2021-1"],"modified":"2026-04-02T06:48:11.333091Z","published":"2021-02-15T13:15:12.433Z","related":["ALSA-2021:4151","ALSA-2021:4162","MGASA-2021-0135","MGASA-2021-0165","SNYK-UPSTREAM-PYTHONCPYTHON-1074933","SUSE-FU-2022:0444-1","SUSE-FU-2022:0445-1","SUSE-SU-2021:0768-1","SUSE-SU-2021:0794-1","SUSE-SU-2021:0886-1","SUSE-SU-2021:0887-1","SUSE-SU-2021:0947-1","SUSE-SU-2021:1962-1","SUSE-SU-2021:2554-1","openSUSE-SU-2021:0435-1","openSUSE-SU-2024:11202-1","openSUSE-SU-2024:11279-1","openSUSE-SU-2024:11283-1","openSUSE-SU-2024:11284-1","openSUSE-SU-2024:11285-1","openSUSE-SU-2024:11286-1","openSUSE-SU-2024:12089-1","openSUSE-SU-2024:12893-1","openSUSE-SU-2024:12910-1","openSUSE-SU-2024:14037-1","openSUSE-SU-2024:14109-1","openSUSE-SU-2024:14434-1","openSUSE-SU-2025:15713-1"],"references":[{"type":"WEB","url":"https://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772%40%3Cdev.mina.apache.org%3E"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3YKKDLXL3UEZ3J426C2XTBS63AHE46SM/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HZTM7KLHFCE3LWSEVO2NAFLUHMGYMCRY/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LVNH6Z24IG3E67ZCQGGJ46FZB4XFLQNZ/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3EPYWWFDV22CJ5AOH5VCE72DOASZZ255/"},{"type":"WEB","url":"https://lists.apache.org/thread.html/rc005f4de9d9b0ba943ceb8ff5a21a5c6ff8a9df52632476698d99432%40%3Cannounce.apache.org%3E"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IHQDU7NXA7EWAE4W7VO6MURVJIULEPPR/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MNUN5SOMFL2BBKP6ZAICIIUPQKZDMGYO/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N6VXJZSZ6N64AILJX4CTMACYGQGHHD5C/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NJSCSN722JO2E2AGPWD4NTGVELVRPB4R/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/46N6A52EGSXHJYCZWVMBJJIH4NWIV2B5/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FONHJIOZOFD7CD35KZL6SVBUTMBPGZGA/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OAGSWNGZJ6HQ5ISA67SNMK3CJRKICET7/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SGIY6I4YS3WOXAK4SXKIEOC2G4VZKIR7/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HCQTCSP6SCVIYNIRUJC5X7YBVUHPLSC4/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NODWHDIFBQE5RU5PUWUVE47JOT5VCMJ2/"},{"type":"WEB","url":"https://lists.apache.org/thread.html/ra8ce70088ba291f358e077cafdb14d174b7a1ce9a9d86d1b332d6367%40%3Cusers.airflow.apache.org%3E"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/09/msg00022.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KJXCMHLY7H3FIYLE4OKDYUILU2CCRUCZ/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TFTELUMWZE3KV3JB2H5EE6VFRZFRD5MV/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MP572OLHMS7MZO4KUPSCIMSZIA5IZZ62/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W2LSKBEFI5SYEY5FM6ICZVZM5WRQUCS4/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RSLQD5CCM75IZGAMBDGUZEATYU5YSGJ7/"},{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2021/05/01/2"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2021/02/msg00030.html"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2021/04/msg00005.html"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20210326-0004/"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202104-04"},{"type":"ADVISORY","url":"https://snyk.io/blog/cache-poisoning-in-popular-open-source-packages/"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2021/04/msg00015.html"},{"type":"FIX","url":"https://www.oracle.com//security-alerts/cpujul2021.html"},{"type":"FIX","url":"https://www.oracle.com/security-alerts/cpuoct2021.html"},{"type":"FIX","url":"https://github.com/python/cpython/pull/24297"},{"type":"FIX","url":"https://www.oracle.com/security-alerts/cpujan2022.html"},{"type":"FIX","url":"https://www.oracle.com/security-alerts/cpuApr2021.html"},{"type":"FIX","url":"http://www.openwall.com/lists/oss-security/2021/02/19/4"},{"type":"EVIDENCE","url":"https://snyk.io/vuln/SNYK-UPSTREAM-PYTHONCPYTHON-1074933"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/django/django","events":[{"introduced":"2a62cdcfec85938f40abb2e9e6a9ff497e02afe8"},{"fixed":"21a5547793a24357a985390970b489aeeca06d45"},{"introduced":"2a04e24d2dfc8e60a66e4369d970913cb2112d91"},{"fixed":"04a9b7df3fe627d03547a01330a20dfcbf2e8bd5"},{"introduced":"0b8a0296bfd30748f08021834e95cdae241686e8"},{"fixed":"56f2cccc01f91918a227a2611331e4ea7e183286"}],"database_specific":{"versions":[{"introduced":"2.2"},{"fixed":"2.2.19"},{"introduced":"3.0"},{"fixed":"3.0.13"},{"introduced":"3.1"},{"fixed":"3.1.7"}]}},{"type":"GIT","repo":"https://github.com/python/cpython","events":[{"introduced":"0"},{"fixed":"aa73e1722eb9835dc99fd8983885a141112ee4ab"},{"introduced":"1bf9cc509326bc42cd8cb1650eb9bf64550d817e"},{"fixed":"9b2dd1fc6c9913dbeee623e724b6baa598038f97"},{"introduced":"fa919fdf2583bdfead1df00e842f24f30b2a34bf"},{"fixed":"024d8058b0cb2b13dfd65c8e3804a6b194a151ba"},{"introduced":"9cf6752276e6fcfd0c23fdb064ad27f448aaaf75"},{"fixed":"1a79785e3e8fea80bcf6a800b45a04e06c787480"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"3.6.13"},{"introduced":"3.7.0"},{"fixed":"3.7.10"},{"introduced":"3.8.0"},{"fixed":"3.8.8"},{"introduced":"3.9.0"},{"fixed":"3.9.2"}]}}],"versions":["2.0","2.1","2.2","2.3","2.4","2.5","2.6","2.7","3.0","3.1","3.2","3.3","3.4","3.5","legacy-trunk","stable/2.2.x","stable/3.0.x","stable/3.1.x","v0.9.8","v0.9.9","v1.0.1","v1.0.2","v1.1","v1.1.1","v1.2","v1.2b1","v1.2b2","v1.2b3","v1.2b4","v1.3","v1.3b1","v1.4","v1.4b1","v1.4b2","v1.4b3","v1.5","v1.5.1","v1.5.2","v1.5.2a1","v1.5.2a2","v1.5.2b1","v1.5.2b2","v1.5.2c1","v1.5a1","v1.5a2","v1.5a3","v1.5a4","v1.5b1","v1.5b2","v1.6a1","v1.6a2","v2.0","v2.0.1","v2.0.1c1","v2.0b1","v2.0b2","v2.0c1","v2.1","v2.1.1","v2.1.1c1","v2.1.2","v2.1.2c1","v2.1.3","v2.1a1","v2.1a2","v2.1b1","v2.1b2","v2.1c1","v2.1c2","v2.2","v2.2.1","v2.2.1c1","v2.2.1c2","v2.2.2","v2.2.2b1","v2.2.3","v2.2.3c1","v2.2a3","v2.3.1","v2.3.2","v2.3.2c1","v2.3.3","v2.3.3c1","v2.3.4","v2.3.4c1","v2.3.5","v2.3.5c1","v2.3.6","v2.3.6c1","v2.3.7","v2.3.7c1","v2.3c1","v2.3c2","v2.4","v2.4.1","v2.4.1c1","v2.4.1c2","v2.4.2","v2.4.2c1","v2.4.3","v2.4.3c1","v2.4.4","v2.4.4c1","v2.4.5","v2.4.5c1","v2.4.6","v2.4.6c1","v2.4a1","v2.4a2","v2.4a3","v2.4b1","v2.4b2","v2.4c1","v2.5","v2.5.1","v2.5.1c1","v2.5.2","v2.5.2c1","v2.5.3","v2.5.3c1","v2.5.4","v2.5.5","v2.5.5c1","v2.5.5c2","v2.5.6","v2.5.6c1","v2.5a0","v2.5a1","v2.5a2","v2.5b1","v2.5b2","v2.5b3","v2.5c1","v2.5c2","v2.6","v2.6.1","v2.6.2","v2.6.2c1","v2.6.3","v2.6.3rc1","v2.6.4","v2.6.4rc1","v2.6.4rc2","v2.6.5","v2.6.5rc1","v2.6.5rc2","v2.6.6","v2.6.6rc1","v2.6.6rc2","v2.6.7","v2.6.8","v2.6.8rc1","v2.6.8rc2","v2.6.9","v2.6.9rc1","v2.6a1","v2.6a2","v2.6a3","v2.6b1","v2.6b2","v2.6b3","v2.6rc1","v2.6rc2","v2.7","v2.7.1","v2.7.10","v2.7.10rc1","v2.7.11","v2.7.11rc1","v2.7.12","v2.7.12rc1","v2.7.13","v2.7.13rc1","v2.7.14","v2.7.14rc1","v2.7.15","v2.7.15rc1","v2.7.16","v2.7.16rc1","v2.7.17","v2.7.17rc1","v2.7.18","v2.7.18rc1","v2.7.1rc1","v2.7.2","v2.7.2rc1","v2.7.3","v2.7.3rc1","v2.7.3rc2","v2.7.4","v2.7.4rc1","v2.7.5","v2.7.6","v2.7.6rc1","v2.7.7","v2.7.7rc1","v2.7.8","v2.7.9","v2.7.9rc1","v2.7a1","v2.7a2","v2.7a3","v2.7a4","v2.7b1","v2.7b2","v2.7rc1","v2.7rc2","v3.0","v3.0.1","v3.0a1","v3.0a2","v3.0a3","v3.0a4","v3.0a5","v3.0b1","v3.0b2","v3.0b3","v3.0rc1","v3.0rc2","v3.0rc3","v3.1","v3.1.1","v3.1.1rc1","v3.1.2","v3.1.2rc1","v3.1.3","v3.1.3rc1","v3.1.4","v3.1.4rc1","v3.1.5","v3.1.5rc1","v3.1.5rc2","v3.10.0","v3.10.0a1","v3.10.0a2","v3.10.0a3","v3.10.0a4","v3.10.0a5","v3.10.0a6","v3.10.0a7","v3.10.0b1","v3.10.0b2","v3.10.0b3","v3.10.0b4","v3.10.0rc1","v3.10.0rc2","v3.10.1","v3.10.10","v3.10.11","v3.10.12","v3.10.13","v3.10.14","v3.10.15","v3.10.16","v3.10.17","v3.10.18","v3.10.19","v3.10.2","v3.10.20","v3.10.3","v3.10.4","v3.10.5","v3.10.6","v3.10.7","v3.10.8","v3.10.9","v3.11.0","v3.11.0a1","v3.11.0a2","v3.11.0a3","v3.11.0a4","v3.11.0a5","v3.11.0a6","v3.11.0a7","v3.11.0b1","v3.11.0b2","v3.11.0b3","v3.11.0b4","v3.11.0b5","v3.11.0rc1","v3.11.0rc2","v3.11.1","v3.11.10","v3.11.11","v3.11.12","v3.11.13","v3.11.14","v3.11.15","v3.11.2","v3.11.3","v3.11.4","v3.11.5","v3.11.6","v3.11.7","v3.11.8","v3.11.9","v3.12.0","v3.12.0a1","v3.12.0a2","v3.12.0a3","v3.12.0a4","v3.12.0a5","v3.12.0a6","v3.12.0a7","v3.12.0b1","v3.12.0b2","v3.12.0b3","v3.12.0b4","v3.12.0rc1","v3.12.0rc2","v3.12.0rc3","v3.12.1","v3.12.10","v3.12.11","v3.12.12","v3.12.13","v3.12.2","v3.12.3","v3.12.4","v3.12.5","v3.12.6","v3.12.7","v3.12.8","v3.12.9","v3.13.0","v3.13.0a1","v3.13.0a2","v3.13.0a3","v3.13.0a4","v3.13.0a5","v3.13.0a6","v3.13.0b1","v3.13.0b2","v3.13.0b3","v3.13.0b4","v3.13.0rc1","v3.13.0rc2","v3.13.0rc3","v3.13.1","v3.13.10","v3.13.11","v3.13.12","v3.13.2","v3.13.3","v3.13.4","v3.13.5","v3.13.6","v3.13.7","v3.13.8","v3.13.9","v3.14.0","v3.14.0a1","v3.14.0a2","v3.14.0a3","v3.14.0a4","v3.14.0a5","v3.14.0a6","v3.14.0a7","v3.14.0b1","v3.14.0b2","v3.14.0b3","v3.14.0b4","v3.14.0rc1","v3.14.0rc2","v3.14.0rc3","v3.14.1","v3.14.2","v3.14.3","v3.15.0a1","v3.15.0a2","v3.15.0a3","v3.15.0a4","v3.15.0a5","v3.15.0a6","v3.15.0a7","v3.1a1","v3.1a2","v3.1b1","v3.1rc1","v3.1rc2","v3.2","v3.2.1","v3.2.1b1","v3.2.1rc1","v3.2.1rc2","v3.2.2","v3.2.2rc1","v3.2.3","v3.2.3rc1","v3.2.3rc2","v3.2.4","v3.2.4rc1","v3.2.5","v3.2.6","v3.2.6rc1","v3.2a1","v3.2a2","v3.2a3","v3.2a4","v3.2b1","v3.2b2","v3.2rc1","v3.2rc2","v3.2rc3","v3.3.0","v3.3.0a1","v3.3.0a2","v3.3.0a3","v3.3.0a4","v3.3.0b1","v3.3.0b2","v3.3.0rc1","v3.3.0rc2","v3.3.0rc3","v3.3.1","v3.3.1rc1","v3.3.2","v3.3.3","v3.3.3rc1","v3.3.3rc2","v3.3.4","v3.3.4rc1","v3.3.5","v3.3.5rc1","v3.3.5rc2","v3.3.6","v3.3.6rc1","v3.3.7","v3.3.7rc1","v3.4.0","v3.4.0a1","v3.4.0a2","v3.4.0a3","v3.4.0a4","v3.4.0b1","v3.4.0b2","v3.4.0b3","v3.4.0rc1","v3.4.0rc2","v3.4.0rc3","v3.4.1","v3.4.10","v3.4.10rc1","v3.4.1rc1","v3.4.2","v3.4.2rc1","v3.4.3","v3.4.3rc1","v3.4.4","v3.4.4rc1","v3.4.5","v3.4.5rc1","v3.4.6","v3.4.6rc1","v3.4.7","v3.4.7rc1","v3.4.8","v3.4.8rc1","v3.4.9","v3.4.9rc1","v3.5.0","v3.5.0a1","v3.5.0a2","v3.5.0a3","v3.5.0a4","v3.5.0b1","v3.5.0b2","v3.5.0b3","v3.5.0b4","v3.5.0rc1","v3.5.0rc2","v3.5.0rc3","v3.5.0rc4","v3.5.1","v3.5.10","v3.5.10rc1","v3.5.1rc1","v3.5.2","v3.5.2rc1","v3.5.3","v3.5.3rc1","v3.5.4","v3.5.4rc1","v3.5.5","v3.5.5rc1","v3.5.6","v3.5.6rc1","v3.5.7","v3.5.7rc1","v3.5.8","v3.5.8rc1","v3.5.8rc2","v3.5.9","v3.6.0","v3.6.0a1","v3.6.0a2","v3.6.0a3","v3.6.0a4","v3.6.0b1","v3.6.0b2","v3.6.0b3","v3.6.0b4","v3.6.0rc1","v3.6.0rc2","v3.6.1","v3.6.10","v3.6.10rc1","v3.6.11","v3.6.11rc1","v3.6.12","v3.6.1rc1","v3.6.2","v3.6.2rc1","v3.6.2rc2","v3.6.3","v3.6.3rc1","v3.6.4","v3.6.4rc1","v3.6.5","v3.6.5rc1","v3.6.6","v3.6.6rc1","v3.6.7","v3.6.7rc1","v3.6.7rc2","v3.6.8","v3.6.8rc1","v3.6.9","v3.6.9rc1","v3.7.0","v3.7.0a1","v3.7.0a2","v3.7.0a3","v3.7.0a4","v3.7.0b1","v3.7.0b2","v3.7.0b3","v3.7.0b4","v3.7.0b5","v3.7.0rc1","v3.7.1","v3.7.1rc1","v3.7.1rc2","v3.7.2","v3.7.2rc1","v3.7.3","v3.7.3rc1","v3.7.4","v3.7.4rc1","v3.7.4rc2","v3.7.5","v3.7.5rc1","v3.7.6","v3.7.6rc1","v3.7.7","v3.7.7rc1","v3.7.8","v3.7.8rc1","v3.7.9","v3.8.0","v3.8.0a1","v3.8.0a2","v3.8.0a3","v3.8.0a4","v3.8.0b1","v3.8.0b2","v3.8.0b3","v3.8.0b4","v3.8.0rc1","v3.8.1","v3.8.1rc1","v3.8.2","v3.8.2rc1","v3.8.2rc2","v3.8.3","v3.8.3rc1","v3.8.4","v3.8.4rc1","v3.8.5","v3.8.6","v3.8.6rc1","v3.8.7","v3.8.7rc1","v3.8.8rc1","v3.9.0","v3.9.0a1","v3.9.0a2","v3.9.0a3","v3.9.0a4","v3.9.0a5","v3.9.0a6","v3.9.0b1","v3.9.0b2","v3.9.0b3","v3.9.0b4","v3.9.0b5","v3.9.0rc1","v3.9.0rc2","v3.9.1","v3.9.1rc1","v3.9.2rc1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-23336.json","unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"32"}]},{"events":[{"introduced":"0"},{"last_affected":"33"}]},{"events":[{"introduced":"0"},{"last_affected":"34"}]},{"events":[{"introduced":"0"},{"last_affected":"9.0"}]},{"events":[{"introduced":"0"},{"last_affected":"12.0.0.3.0"}]},{"events":[{"introduced":"0"},{"last_affected":"12.0.0.3.0"}]},{"events":[{"introduced":"0"},{"last_affected":"12.4.0.0"}]},{"events":[{"introduced":"0"},{"last_affected":"8.8"}]}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H"}]}