CVE-2016-9964
published 2016-12-16CVE-2016-9964: 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…
PriorityP427medium6.5CVSS 3.0
AVNACLPRNUIRSUCNIHAN
EPSS
1.76%
75.5th percentile
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
4 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| bottlepy | bottle | — | — |
| bottlepy | bottle | >= 0.10.1 < 0.12.11 | 0.12.11 |
| debian | debian_linux | — | — |
| debian | python-bottle | < python-bottle 0.12.11-1 (bookworm) | python-bottle 0.12.11-1 (bookworm) |
CVSS provenance
nvdv3.06.5MEDIUMCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:P/A:N
osv6.5MEDIUM
vendor_debian6.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Debian
CVE-2016-9964: python-bottle - redirect() in bottle.py in bottle 0.12.10 doesn't filter a "\r\n" sequence, whic...
vendor_debian·2016·CVSS 6.5
CVE-2016-9964 [MEDIUM] CVE-2016-9964: python-bottle - redirect() in bottle.py in bottle 0.12.10 doesn't filter a "\r\n" sequence, whic...
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.
Scope: local
bookworm: resolved (fixed in 0.12.11-1)
bullseye: resolved (fixed in 0.12.11-1)
forky: resolved (fixed in 0.12.11-1)
sid: resolved (fixed in 0.12.11-1)
trixie: resolved (fixed in 0.12.11-1)
OSV
bottle.py vulnerable to CRLF Injection
osv·2022-05-17
CVE-2016-9964 [HIGH] bottle.py vulnerable to CRLF Injection
bottle.py vulnerable to CRLF Injection
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.
GHSA
bottle.py vulnerable to CRLF Injection
ghsa·2022-05-17
CVE-2016-9964 [HIGH] CWE-93 bottle.py vulnerable to CRLF Injection
bottle.py vulnerable to CRLF Injection
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.
OSV
CVE-2016-9964: redirect() in bottle
osv·2016-12-16·CVSS 6.5
CVE-2016-9964 [MEDIUM] CVE-2016-9964: redirect() in bottle
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.
No detection rules found.
No public exploits indexed.
arXiv
SAGA: Detecting Security Vulnerabilities Using Static Aspect Analysis
arxiv_fulltext·2026-01-21
SAGA: Detecting Security Vulnerabilities Using Static Aspect Analysis
[SAGA: Detecting Security Vulnerabilities Using Static Aspect Analysis]SAGA: Detecting Security Vulnerabilities Using Static Aspect Analysis
Yoann Marquer
[email protected]
0000-0002-4607-967X
Domenico Bianculli
[email protected]
0000-0002-4854-685X
Interdisciplinary Centre for Security, Reliability, and Trust (SnT), University of Luxembourg
Luxembourg
Lionel C. Briand
[email protected]
0000-0002-1393-1010
School of Electrical and Computer Engineering, University of Ottawa
Canada
Lero SFI Centre for Software Research, University of Limerick
Ireland
## Abstract
Python is one of the most popular programming languages; as such, projects written in Python involve an increasing number of diverse security vulnerabilities.
However, existing state-of-the-art analysis tools for
Bugzilla
CVE-2016-9964 python-bottle: redirect() doesn't filter "\r\n" which allows for CRLF attack [fedora-all]
bugzilla·2016-12-16·CVSS 6.5
CVE-2016-9964 [MEDIUM] CVE-2016-9964 python-bottle: redirect() doesn't filter "\r\n" which allows for CRLF attack [fedora-all]
CVE-2016-9964 python-bottle: redirect() doesn't filter "\r\n" which allows for CRLF attack [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multi
Bugzilla
CVE-2016-9964 python-bottle: redirect() doesn't filter "\r\n" which allows for CRLF attack
bugzilla·2016-12-16·CVSS 6.5
CVE-2016-9964 [MEDIUM] CVE-2016-9964 python-bottle: redirect() doesn't filter "\r\n" which allows for CRLF attack
CVE-2016-9964 python-bottle: redirect() doesn't filter "\r\n" which allows for CRLF attack
It was found that redirect() in bottle.py 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.
Upstream bug:
https://github.com/bottlepy/bottle/issues/913
Upstream patch:
https://github.com/bottlepy/bottle/commit/6d7e13da0f998820800ecb3fe9ccee4189aefb54
Discussion:
Created python-bottle tracking bugs for this issue:
Affects: fedora-all [bug 1405417]
Affects: epel-all [bug 1405418]
---
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.
Bugzilla
CVE-2016-9964 python-bottle: redirect() doesn't filter "\r\n" which allows for CRLF attack [epel-all]
bugzilla·2016-12-16·CVSS 6.5
CVE-2016-9964 [MEDIUM] CVE-2016-9964 python-bottle: redirect() doesn't filter "\r\n" which allows for CRLF attack [epel-all]
CVE-2016-9964 python-bottle: redirect() doesn't filter "\r\n" which allows for CRLF attack [epel-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora EPEL.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects mu
http://www.debian.org/security/2016/dsa-3743http://www.securityfocus.com/bid/94961https://github.com/bottlepy/bottle/commit/6d7e13da0f998820800ecb3fe9ccee4189aefb54https://github.com/bottlepy/bottle/issues/913http://www.debian.org/security/2016/dsa-3743http://www.securityfocus.com/bid/94961https://github.com/bottlepy/bottle/commit/6d7e13da0f998820800ecb3fe9ccee4189aefb54https://github.com/bottlepy/bottle/issues/913
2016-12-16
Published