CRLF Injection Affecting python-bottle package, versions <0.12.7-1+deb8u1build0.16.10.1


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.3% (70th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about CRLF Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UBUNTU1610-PYTHONBOTTLE-287936
  • published16 Dec 2016
  • disclosed16 Dec 2016

Introduced: 16 Dec 2016

CVE-2016-9964  (opens in a new tab)
CWE-93  (opens in a new tab)

How to fix?

Upgrade Ubuntu:16.10 python-bottle to version 0.12.7-1+deb8u1build0.16.10.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-bottle package and not the python-bottle package as distributed by Ubuntu. See How to fix? for Ubuntu:16.10 relevant fixed versions and status.

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.