ADVISORIES

GitHub Advisory Database

GHSA-873q-wpqr-xfgw

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.

Affected packages

EcosystemPackageAffected versions
PyPIbottle
From 0.10.0 before 0.10.12 (fixed in 0.10.12)
PyPIbottle
From 0.11.0 before 0.11.7 (fixed in 0.11.7)
PyPIbottle
From 0.12.0 before 0.12.6 (fixed in 0.12.6)

References