Vulnerability · Published Jan 18, 2021 · Assigned by snyk
CVE-2020-28473Web Cache Poisoning
Medium 6.8
In plain English
A medium-severity security flaw in bottle. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.8% (higher than 78% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
The package bottle from 0 and before 0.12.19 are vulnerable to Web Cache Poisoning 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | python-bottle | 0.12.19-1 | DEBIAN-CVE-2020-28473 |
| Debian:13 | python-bottle | 0.12.19-1 | DEBIAN-CVE-2020-28473 |
| Debian:14 | python-bottle | 0.12.19-1 | DEBIAN-CVE-2020-28473 |
| PyPI | bottle | 0.12.19 | GHSA-qhx9-7hx7-cp4r |
| PyPI | bottle | 0.12.19 | PYSEC-2021-129 |
| Ubuntu:22.04:LTS | python-bottle | no fix listed | UBUNTU-CVE-2020-28473 |
Affected products (as reported)
References
- https://snyk.io/vuln/SNYK-PYTHON-BOTTLE-1017108 x_refsource_MISC
- https://github.com/bottlepy/bottle x_refsource_MISC
- https://snyk.io/blog/cache-poisoning-in-popular-open-source-packages/ x_refsource_CONFIRM
- [debian-lts-announce] 20210124 [SECURITY] [DLA 2531-1] python-bottle security update mailing-list, x_refsource_MLIST