ADVISORIES

PyPA Advisory Database

PYSEC-2014-77

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.

Affected packages

EcosystemPackageAffected versions
PyPIbottle
From 0.8 before 0.10.12 (fixed in 0.10.12)
From 0.11 before 0.11.7 (fixed in 0.11.7)
From 0.12 before 0.12.6 (fixed in 0.12.6)

References