VDB
Sign up
—

PYSEC-2016-24

Quick fix

PYSEC-2016-24 — bottle: upgrade to the fixed version with the command below.

pip install --upgrade 'bottle>=6d7e13da0f998820800ecb3fe9ccee4189aefb54'

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/bottle
Introduced in: 0Fixed in: 6d7e13da0f998820800ecb3fe9ccee4189aefb54
Fixpip install --upgrade 'bottle>=6d7e13da0f998820800ecb3fe9ccee4189aefb54'

References