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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | python-bottle | 0.12.11-1 | — |
| Debian 13 | python-bottle | 0.12.11-1 | — |
| Debian 12 | python-bottle | 0.12.11-1 | — |
| Debian 8 | python-bottle | 0.12.7-1+deb8u1 | DSA-3743-1 |
| Debian 7 | python-bottle | 0.10.11-1+deb7u2 | DLA-761-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | python-bottle | 0.12.7-1+deb8u1build0.16.04.1 | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 14.04 LTS | python-bottle | 0.12.0-1ubuntu0.1~esm1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | bottle | >= 0.10.1, < 0.12.11 | 0.12.11 | GHSA-j6f7-hghw-g437 |
Advisories 2
- DLA-761-1 python-bottle - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3743-1 python-bottle - security update Debian Security (DSA / DLA) · Mar 9, 2026