Affected versions
Version ranges need review.
PyPIbottle
- Affected versions
- >= 0.11.0, < 0.11.7
- Fixed version
- 0.11.7
PyPIbottle
- Affected versions
- >= 0.12.0, < 0.12.6
- Fixed version
- 0.12.6
PyPIbottle
- Affected versions
- >=0.8 <0.10.12 || >=0.11 <0.11.7 || >=0.12 <0.12.6
- Fixed version
- 0.10.12 · 0.11.7 · 0.12.6
PyPIbottle
- Affected versions
- >= 0.10.0, < 0.10.12
- Fixed version
- 0.10.12
Exploitation
Description
Bottle 0.10.x before 0.10.12, 0.11.x before 0.11.7, and 0.12.x before 0.12.6 does not properly limit content types, which allows remote attackers to bypass intended access restrictions via an accepted Content-Type followed by a ; (semi-colon) and a Content-Type that would not be accepted, as demonstrated in YouCompleteMe to execute arbitrary code.
Links
- http://www.debian.org/security/2014/dsa-2948
- http://www.openwall.com/lists/oss-security/2014/05/01/15
- https://bugzilla.redhat.com/show_bug.cgi?id=1093255
- https://github.com/advisories/GHSA-873q-wpqr-xfgw
- https://github.com/bottlepy/bottle
- https://github.com/bottlepy/bottle/issues/616
- https://github.com/defnull/bottle/issues/616
- https://github.com/pypa/advisory-database/tree/main/vulns/bottle/PYSEC-2014-77.yaml
- https://nvd.nist.gov/vuln/detail/CVE-2014-3137

