5.9medium
Web Cache Poisoning
- Severity
- 5.9medium CVSS:3.1 by snyk
- Exploit likelihood
- 41.1% (higher than 98% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- PSF-2021-1BIT-DJANGO-2021-23336BIT-LIBPYTHON-2021-23336BIT-PYTHON-2021-23336BIT-PYTHON-MIN-2021-23336SNYK-UPSTREAM-PYTHONCPYTHON-1074933
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 | CVE List |
| https://github.com/python/cpython | before 5c17dfc5d70ce88be99bc5769b91ce79d7a90d61, before c9f07813ab8e664d8c34413c4fc2d4f86c061a92, before d0d4d30882fe3ab9b1badbecf5d15d94326fd13e, before e3110c3cfbb7daa690d54d0eff6c264c870a71bf, before fcbe0cb04d35189401c0c880ebfb4311e952d776 | Python Software Foundation |
| 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 | NVD |
| fedoraproject fedora | 32, 33, 34 | NVD |
| debian debian_linux | 9.0 | NVD |
| netapp cloud_backup | Not specified | NVD |
| netapp inventory_collect_tool | Not specified | NVD |
| netapp ontap_select_deploy_administration_utility | Not specified | NVD |
| netapp snapcenter | Not specified | NVD |
| djangoproject django | from 2.2 before 2.2.19, from 3.0 before 3.0.13, from 3.1 before 3.1.7 | NVD |
| oracle communications_offline_mediation_controller | 12.0.0.3.0 | NVD |
| oracle communications_pricing_design_center | 12.0.0.3.0 | NVD |
| oracle enterprise_manager_ops_center | 12.4.0.0 | NVD |
| oracle zfs_storage_appliance | 8.8 | NVD |
| 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 | Bitnami Vulnerability Database |
| 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 | Bitnami Vulnerability Database |
| 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 | Bitnami Vulnerability Database |
| 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 | Bitnami Vulnerability Database |
All scores
| snyk | 5.9medium CVSS:3.1 | 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 | 5.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H |
| NVD | 4.0medium CVSS:2.0 | AV:N/AC:H/Au:N/C:N/I:P/A:P |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
El paquete python/cpython desde versiones 0 y anteriores a 3.6.13, desde versiones 3.7.0 y anteriores a 3.7.10, desde versiones 3.8.0 y anteriores a 3.8.8, desde versiones 3.9.0 y anteriores a 3.9.2, son vulnerables al envenenamiento de caché web por medio de urllib.parse.parse_qsl y urllib.parse.parse_qs usando un vector llamado encubrimiento de parámetros. Cuando el atacante puede separar los parámetros de la consulta usando un punto y coma (;), pueden causar una diferencia en la interpretación de la petición entre el proxy (que se ejecuta con la configuración predeterminada) y el servidor. Esto puede resultar en que las peticiones maliciosas se almacenen en caché como completamente seguras, ya que el proxy normalmente no vería el punto y coma como un separador y, por lo tanto, no lo incluiría en una clave de caché de un parámetro sin clave
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-23336 changed 2026-10-14 | CVE Terms of Use |
| Python Software Foundation | PSF-2021-1 changed 2026-07-08 | CC-BY-4.0 |
| NVD | CVE-2021-23336 changed 2026-10-14 | Public domain |
| Bitnami Vulnerability Database | BIT-DJANGO-2021-23336 changed 2026-09-08 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-LIBPYTHON-2021-23336 changed 2026-09-08 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-PYTHON-2021-23336 changed 2026-09-08 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-PYTHON-MIN-2021-23336 changed 2026-09-08 | Apache-2.0 |