原始描述
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.
受影响的软件
- Python < 3.6.13≥ 3.9.0 < 3.9.2≥ 3.7.0 < 3.7.10≥ 3.8.0 < 3.8.8 修复版本: 3.6.13, 3.9.2, 3.7.10, 3.8.8 精确匹配
详情
- 发布日期
- 2021-02-15
- 最后修改
- 2026-10-14
- CVSS 向量
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- EPSS(30 天内被利用概率)
- 41.13% (百分位 99)
参考资料
- cve.org/CVE-2021-23336
- nvd.nist.gov/vuln/detail/CVE-2021-23336
- snyk.io/vuln/SNYK-UPSTREAM-PYTHONCPYTHON-1074933
- github.com/python/cpython/pull/24297
- snyk.io/blog/cache-poisoning-in-popular-open-source-packages/
- www.openwall.com/lists/oss-security/2021/02/19/4
- lists.debian.org/debian-lts-announce/2021/02/msg00030.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/H...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M...
- lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772%40%...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/K...
本产品使用 NVD API 的数据,但未获得 NVD 的认可或认证。CVE® 是 The MITRE Corporation 的注册商标;CVE 记录依据 CVE Program 使用条款使用。