CVE-2020-28473
Bottlepy Bottle vulnerability
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 products
Bottle, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Bottlepy Bottle runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/bottlepy/bottle · Third Party Advisory
- lists.debian.org/debian-lts-announce/2021/01/msg00019.html · Third Party Advisory
- snyk.io/blog/cache-poisoning-in-popular-open-source-packages/ · Third Party Advisory
- snyk.io/vuln/SNYK-PYTHON-BOTTLE-1017108 · Exploit
- nvd.nist.gov/vuln/detail/CVE-2020-28473
- github.com/bottlepy/bottle/commit/57a2f22e0c1d2b328c4f54bf75741d74f47f1a6b
- github.com/advisories/GHSA-qhx9-7hx7-cp4r
- github.com/pypa/advisory-database/tree/main/vulns/bottle/PYSEC-2021-129.yaml
- nvd.nist.gov/vuln/detail/CVE-2020-28473
- cve.org/CVERecord?id=CVE-2020-28473
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.