high6.5
CVE-2016-9964
bottle.py vulnerable to CRLF Injection
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | bottle | >= 0.10.1, < 0.12.11 | 0.12.11 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Bottlepy | Bottle | Version 0.12.10 |
| Debian | Debian Linux | Version 8.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- http://www.debian.org/security/2016/dsa-3743
- http://www.securityfocus.com/bid/94961
- https://github.com/bottlepy/bottle/commit/6d7e13da0f998820800ecb3fe9ccee4189aefb54
- https://github.com/bottlepy/bottle/issues/913
- https://github.com/advisories/GHSA-j6f7-hghw-g437
- https://nvd.nist.gov/vuln/detail/CVE-2016-9964
- 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