Live threats

All CVEs / Bottlepy

CVE-2016-9964Bottlepy Bottle

Medium 6.5 No auth needed

Priority
54
CVSS 3.0
6.5
EPSS
1.8%
probability of exploitation in 30 days · percentile 79
Auth required
No
Published
Dec 16, 2016
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-93
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Bottle.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI bottle ≥ 0.10.1 < 0.12.11 0.12.11 pip install "bottle>=0.12.11"
PyPI bottle ≥ 0.10.1 < 0.12.11 0.12.11 pip install "bottle>=0.12.11"

Per OSV / GitHub Advisories (GHSA-j6f7-hghw-g437, PYSEC-2016-24). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
bottlepybottle0.12.10
debiandebian_linux8.0

Official sources

References

Links published by the sources. Open them with care.