Skip to content
OpenAdvisories
Critical · 9.8 CVE-2014-3137 EUVD-2014-0004GHSA-873q-wpqr-xfgwPYSEC-2014-77

Bottle does not properly limit content-types

Published Oct 25, 2014 · Updated Aug 6, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-bottle 0.12.6-1 —
Debian 13 python-bottle 0.12.6-1 —
Debian 12 python-bottle 0.12.6-1 —
Debian 7 python-bottle 0.10.11-1+deb7u1 DSA-2948-1
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS python-bottle 0.12.0-1ubuntu0.1~esm1 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI bottle >= 0.10.0, < 0.10.12 0.10.12 GHSA-873q-wpqr-xfgw
PyPI bottle >= 0.11.0, < 0.11.7 0.11.7 GHSA-873q-wpqr-xfgw
PyPI bottle >= 0.12.0, < 0.12.6 0.12.6 GHSA-873q-wpqr-xfgw
PyPI bottle >= 0.8, < 0.10.12 · >= 0.11, < 0.11.7 · >= 0.12, < 0.12.6 0.10.12, 0.11.7, 0.12.6 PYSEC-2014-77

Advisories 1

References