CVE-2016-9964

Published: 16 December 2016

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.

From the Ubuntu security team

It was discovered that Bottle improperly handles headers. An attacker could possibly exploit this as a CRLF attack.

Priority

Medium

CVSS 3 base score: 6.5

Status

Package Release Status
python-bottle
Launchpad, Ubuntu, Debian
Upstream
Released (0.12.11-1)
Ubuntu 21.10 (Impish Indri) Not vulnerable
(0.12.11-1)
Ubuntu 21.04 (Hirsute Hippo) Not vulnerable
(0.12.11-1)
Ubuntu 20.10 (Groovy Gorilla) Not vulnerable
(0.12.11-1)
Ubuntu 20.04 LTS (Focal Fossa) Not vulnerable
(0.12.11-1)
Ubuntu 18.04 LTS (Bionic Beaver) Not vulnerable
(0.12.11-1)
Ubuntu 16.04 ESM (Xenial Xerus)
Released (0.12.7-1+deb8u1build0.16.04.1)
Ubuntu 14.04 ESM (Trusty Tahr) Needed

Patches:
Upstream: https://github.com/bottlepy/bottle/commit/6d7e13da0f998820800ecb3fe9ccee4189aefb54