bottlepy/bottle · Security
bottle.py vulnerable to CRLF Injection
- GHSA ID
- GHSA-j6f7-hghw-g437
- CVE ID
- CVE-2016-9964
- Severity
- high
- Published
- Updated
- CVSS
- 6.5 · CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- CVSS v3
- 6.5 · CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- CVSS v4
- 7.1 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Description
bottle.py is a fast and simple micro-framework for python web-applications. redirect() in bottle.py in bottle 0.12.10 doesn't filter a "\r\n" sequence, which leads to a CRLF attack, as demonstrated by a redirect("233\r\nSet-Cookie: name=salt") call.
CWEs
- CWE-93 · Improper Neutralization of CRLF Sequences ('CRLF Injection')
References
- https://nvd.nist.gov/vuln/detail/CVE-2016-9964 ↗
- https://github.com/bottlepy/bottle/issues/913 ↗
- https://github.com/bottlepy/bottle/commit/6d7e13da0f998820800ecb3fe9ccee4189aefb54 ↗
- http://www.debian.org/security/2016/dsa-3743 ↗
- https://github.com/advisories/GHSA-j6f7-hghw-g437 ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/bottle/PYSEC-2016-24.yaml ↗
- https://github.com/bottlepy/bottle/commit/78f67d51965db11cb1ed0003f1eb7926458b5c2c ↗
- https://web.archive.org/web/20170214030628/http://www.securityfocus.com/bid/94961 ↗