Advisory

GHSA-873q-wpqr-xfgw

Also known as: CVE-2014-3137, PYSEC-2014-77

Summary

Bottle does not properly limit content-types

Details

Bottle 0.10.x before 0.10.12, 0.11.x before 0.11.7, and 0.12.x before 0.12.6 does not properly limit content types, which allows remote attackers to bypass intended access restrictions via an accepted Content-Type followed by a ; (semi-colon) and a Content-Type that would not be accepted, as demonstrated in YouCompleteMe to execute arbitrary code.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-17 04:19 UTC
Modified
2024-09-13 18:01 UTC

Affected packages and fixes

bottle

PyPI · All systems

Affected

  • introduced 0.10.0, fixed 0.10.12 (ecosystem)

Fixed versions

0.10.12

Fix

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

bottle

PyPI · All systems

Affected

  • introduced 0.11.0, fixed 0.11.7 (ecosystem)

Fixed versions

0.11.7

Fix

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

bottle

PyPI · All systems

Affected

  • introduced 0.12.0, fixed 0.12.6 (ecosystem)

Fixed versions

0.12.6

Fix

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

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