Bottle does not properly limit content-types
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| bottle PyPI |
|
|
| Product | Affected | Fixed in |
|---|---|---|
| bottle PyPI |
|
|
0.12.6Bottle 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.
From the CVE record · mitre
Bottle does not properly limit content types. A remote attacker can bypass intended access restrictions by sending an accepted Content-Type followed by a semicolon and a Content-Type that would not be accepted. The issue was demonstrated to allow arbitrary code execution in YouCompleteMe.
Engineers using the PyPI bottle package at versions >=0.8 and <0.10.12, >=0.11 and <0.11.7, or >=0.12 and <0.12.6 should check their installations.