VDB
Sign up
—

PYSEC-2014-77

Quick fix

PYSEC-2014-77 — bottle: upgrade to the fixed version with the command below.

pip install --upgrade 'bottle>=0.10.12'

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/bottle
Introduced in: 0.8Fixed in: 0.10.12
Fixpip install --upgrade 'bottle>=0.10.12'

References