bottlepy/bottle · Security
Bottle does not properly limit content-types
- GHSA ID
- GHSA-873q-wpqr-xfgw
- CVE ID
- CVE-2014-3137
- Severity
- high
- Published
- Updated
- CVSS
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v4
- 8.1 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U
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.
CWEs
- CWE-20 · Improper Input Validation
References
- https://nvd.nist.gov/vuln/detail/CVE-2014-3137 ↗
- https://bugzilla.redhat.com/show_bug.cgi?id=1093255 ↗
- http://www.debian.org/security/2014/dsa-2948 ↗
- http://www.openwall.com/lists/oss-security/2014/05/01/15 ↗
- 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://github.com/advisories/GHSA-873q-wpqr-xfgw ↗