{"id":"CVE-2016-9964","published":"2016-12-16T09:02:00Z","modified":"2024-08-06T03:07:31Z","title":"redirect() in bottle.py in bottle 0.12.10 doesn't filter a \"\\r\\n\" sequence, which leads to a CRLF attack, as…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01761,"percentile":0.78564,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/bottlepy/bottle/issues/913","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/bottlepy/bottle/commit/6d7e13da0f998820800ecb3fe9ccee4189aefb54","tags":["x_refsource_CONFIRM"]},{"url":"http://www.debian.org/security/2016/dsa-3743","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://www.securityfocus.com/bid/94961","tags":["vdb-entry","x_refsource_BID"]}],"priority":{"score":15.7,"factors":[{"name":"EPSS percentile","points":15.71}]},"affected":[{"ecosystem":"PyPI","package":"bottle","vulnerableRanges":[">=0.10.1, <0.12.11"],"patched":["0.12.11"],"from":["GHSA-j6f7-hghw-g437","PYSEC-2016-24"],"provenance":"source"}],"summary":{"text":"The redirect() function in bottle.py in Bottle 0.12.10, a Python web framework, fails to filter CRLF (\"\\r\\n\") sequences from its input. The product is Bottle and the component is the redirect() function in bottle.py. An attacker who can supply input that reaches redirect() can inject CRLF sequences to add arbitrary HTTP headers to the response, such as a Set-Cookie header, as shown by a redirect call containing \"\\r\\nSet-Cookie\".","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:40:00Z"},"euvd":{"id":"EUVD-2016-0002","exploited":false,"provenance":"source"}}