# CVE-2014-3137: Bottle does not properly limit content-types

Source: https://junglewise.ai/threats/cve-2014-3137-bottle-does-not-properly-limit-content-types  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2014-10-25  
License: CC BY 4.0 with a link back

CVE-2014-3137 · Severity: low · CVSS 3.1 · Published 2014-10-25

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.

Technologies: [bottle (PyPI)](https://junglewise.ai/threats/technologies/bottle). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2014-3137 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2014-3137 being exploited in the wild.

**How severe is CVE-2014-3137?** Low severity, with a CVSS score of 3.1, published 25 October 2014.

**Which products and versions are affected?** bottle (PyPI) ECOSYSTEM:introduced=0.10.0,fixed=0.10.12, ECOSYSTEM:introduced=0.8,fixed=0.10.12,introduced=0.11,fixed=0.11.7,introduced=0.12,fixed=0.12.6.

**Is there a fix for CVE-2014-3137?** Yes. bottle (PyPI): upgrade to 0.10.12, 0.12.6 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2014-3137?** Check whether you run bottle (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- bottle (PyPI): upgrade to 0.10.12, 0.12.6 or later

  ```sh
  pip install "bottle>=0.12.6"
  ```


## Affected products

- bottle (PyPI) ECOSYSTEM:introduced=0.10.0,fixed=0.10.12, ECOSYSTEM:introduced=0.8,fixed=0.10.12,introduced=0.11,fixed=0.11.7,introduced=0.12,fixed=0.12.6

## Identifiers

- CVE-2014-3137
- GHSA-873q-wpqr-xfgw
- PYSEC-2014-77

## Related threats

- [PYSEC-2022-227 - Bottle before 0.12.20 mishandles errors during early request binding.](https://junglewise.ai/threats/cve-2022-31799-denial-of-service-in-bottle)
- [bottle HTTP Request smuggling](https://junglewise.ai/threats/cve-2020-28473-bottle-http-request-smuggling)
- [bottle.py vulnerable to CRLF Injection](https://junglewise.ai/threats/cve-2016-9964-bottle-py-vulnerable-to-crlf-injection)
