Advisory

GHSA-j6f7-hghw-g437

Also known as: CVE-2016-9964, PYSEC-2016-24

Summary

bottle.py vulnerable to CRLF Injection

Details

bottle.py is a fast and simple micro-framework for python web-applications. 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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-17 03:05 UTC
Modified
2024-11-25 05:23 UTC

Affected packages and fixes

bottle

PyPI · All systems

Affected

  • introduced 0.10.1, fixed 0.12.11 (ecosystem)

Fixed versions

0.12.11

Fix

  • Fixed version 0.12.11
    pip install --upgrade bottle==0.12.11

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences