MidnightBSD

Advisories for bottlepy

CVE-2014-3137 MEDIUM

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.

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-20,

Products Affected

Vendor Product Version
bottlepy bottle 0.10.10
bottlepy bottle 0.10.6
bottlepy bottle 0.10.3
bottlepy bottle 0.10.5
bottlepy bottle 0.12.2
bottlepy bottle 0.11.3
bottlepy bottle 0.10.1
bottlepy bottle 0.11.5
bottlepy bottle 0.10.0
bottlepy bottle 0.11.4
bottlepy bottle 0.12.5
bottlepy bottle 0.10.8
bottlepy bottle 0.11.0
bottlepy bottle 0.11.6
bottlepy bottle 0.10.4
bottlepy bottle 0.12.0
bottlepy bottle 0.12.4
bottlepy bottle 0.10.11
bottlepy bottle 0.11.2
bottlepy bottle 0.11.7
bottlepy bottle 0.10.7
bottlepy bottle 0.10.2
bottlepy bottle 0.12.3
bottlepy bottle 0.10.9
bottlepy bottle 0.12.1
bottlepy bottle 0.11.1
CVE-2016-9964 MEDIUM

redirect() in bottle.py in bottle 0.12.10 doesn't filter a "\r\n" sequence, which leads to a CRLF attack, as demonstrated by a redirect("233\r\nSet-Cookie: name=salt") call.

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-93,

Products Affected

Vendor Product Version
bottlepy bottle 0.12.10
debian debian_linux 8.0
CVE-2020-28473 MEDIUM

The package bottle from 0 and before 0.12.19 are vulnerable to Web Cache Poisoning by using a vector called parameter cloaking. When the attacker can separate query parameters using a semicolon (;), they can cause a difference in the interpretation of the request between the proxy (running with default configuration) and the server. This can result in malicious requests being cached as completely safe ones, as the proxy would usually not see the semicolon as a separator, and therefore would not include it in a cache key of an unkeyed parameter.

CVSS 3.x

Source Score Severity Vector Exploitability Impact
report@snyk.io 6.8 MEDIUM CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H 1.6 5.2

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-444,

Products Affected

Vendor Product Version
bottlepy bottle *
debian debian_linux 9.0
CVE-2022-31799 HIGH

Bottle before 0.12.20 mishandles errors during early request binding.

CVSS 2.0

Severity: HIGH

Problem Type: CWE-755,

Products Affected

Vendor Product Version
fedoraproject fedora 36
bottlepy bottle *
debian debian_linux 10.0
debian debian_linux 11.0
debian debian_linux 9.0
fedoraproject fedora 35