CVE-2016-9964Bottlepy Bottle
Medium 6.5 No auth needed
Follow: this CVE · Bottlepy · Bottlepy Bottle We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.0
- 6.5
- EPSS
- 1.8% probability of exploitation in 30 days · percentile 79
- Auth required
- No
- Published
- Dec 16, 2016
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-93
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Bottle.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | bottle |
≥ 0.10.1 < 0.12.11 |
0.12.11 |
pip install "bottle>=0.12.11" |
| PyPI | bottle |
≥ 0.10.1 < 0.12.11 |
0.12.11 |
pip install "bottle>=0.12.11" |
Per OSV / GitHub Advisories (GHSA-j6f7-hghw-g437, PYSEC-2016-24). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| bottlepy | bottle | 0.12.10 |
| debian | debian_linux | 8.0 |
Official sources
References
Links published by the sources. Open them with care.
- www.debian.org Third Party Advisory
- www.securityfocus.com Third Party Advisory VDB Entry
- github.com Issue Tracking Patch Third Party Advisory
- github.com Issue Tracking Patch Third Party Advisory