Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2016-9964
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 09:50 UTC · Revision 1
Source evidence
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
Complete source record
{
"id": "e4910fb7a8e52f1f6bdfe5698382d0e8358801d8542983c69270b68978c3b17b",
"url": "https://osv.dev/vulnerability/CVE-2016-9964",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2016-9964",
"summary": "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.",
"evidence": "osv:CVE-2016-9964",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2016-9964",
"aliases": [
"CVE-2016-9964",
"GHSA-j6f7-hghw-g437",
"PYSEC-2016-24"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/bottlepy/bottle",
"type": "GIT",
"events": [
{
"introduced": "bed58709f565bdfd9765773320c3c6f1b2c78716"
},
{
"last_affected": "bed58709f565bdfd9765773320c3c6f1b2c78716"
},
{
"fixed": "6d7e13da0f998820800ecb3fe9ccee4189aefb54"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:bottlepy:bottle:0.12.10:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.12.10"
},
{
"last_affected": "0.12.10"
}
],
"source": "CPE_STRING"
},
{
"range": [
{
"fixed": "6d7e13da0f998820800ecb3fe9ccee4189aefb54"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"0.12.10"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-9964.json"
}
}
],
"modified": "2026-10-20T10:48:06.597693464Z",
"provider": "osv",
"references": [
"https://github.com/bottlepy/bottle/commit/6d7e13da0f998820800ecb3fe9ccee4189aefb54",
"https://github.com/bottlepy/bottle/issues/913"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "8.0"
},
{
"last_affected": "8.0"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2016-9964",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 380045,
"published_at": "2016-12-16T09:59:00.373+00:00"
}