ADVISORIES

GitHub Advisory Database

GHSA-j6f7-hghw-g437

bottle.py vulnerable to CRLF Injection

Details

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

EcosystemPackageAffected versions
PyPIbottle
From 0.10.1 before 0.12.11 (fixed in 0.12.11)

References