CVE-2016-9964
MEDIUM6.5EPSS 1.2%python-bottle - security update
Published: 5/17/2022Modified: 4/28/2026
Description
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 (5)
- Debian/python-bottlefrom 0, < 0.12.11-1
- Debian/python-bottlefrom 0, < 0.10.11-1+deb7u2
- Debian/python-bottlefrom 0, < 0.12.7-1+deb8u1
- PyPI/bottle>= 0.10.1, < 0.12.11
- PyPI/bottlefrom 0, < 6d7e13da0f998820800ecb3fe9ccee4189aefb54 | >= 0.10.1, < 0.12.11
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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 |
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
References (11)
- ADVISORYhttps://github.com/advisories/GHSA-j6f7-hghw-g437
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2016-9964
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2016-9964
- PATCHhttps://github.com/bottlepy/bottle
- WEBhttps://github.com/bottlepy/bottle/commit/6d7e13da0f998820800ecb3fe9ccee4189aefb54
- WEBhttps://github.com/bottlepy/bottle/commit/78f67d51965db11cb1ed0003f1eb7926458b5c2c
- WEBhttps://github.com/bottlepy/bottle/issues/913
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/bottle/PYSEC-2016-24.yaml
- WEBhttps://web.archive.org/web/20170214030628/http://www.securityfocus.com/bid/94961
- WEBhttp://www.debian.org/security/2016/dsa-3743
- WEBhttp://www.securityfocus.com/bid/94961