Bug 1405416 (CVE-2016-9964) - CVE-2016-9964 python-bottle: redirect() doesn't filter "\r\n" which allows for CRLF attack
Summary: CVE-2016-9964 python-bottle: redirect() doesn't filter "\r\n" which allows fo...
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2016-9964
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1405417 1405418
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-16 13:14 UTC by Andrej Nemec
Modified: 2019-09-29 14:02 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-06-08 03:04:36 UTC
Embargoed:


Attachments (Terms of Use)

Description Andrej Nemec 2016-12-16 13:14:43 UTC
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

Comment 1 Andrej Nemec 2016-12-16 13:15:20 UTC
Created python-bottle tracking bugs for this issue:

Affects: fedora-all [bug 1405417]
Affects: epel-all [bug 1405418]

Comment 2 Product Security DevOps Team 2019-06-08 03:04:36 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.