GHSA-873q-wpqr-xfgw

Suggest an improvement
Source
https://github.com/advisories/GHSA-873q-wpqr-xfgw
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-873q-wpqr-xfgw/GHSA-873q-wpqr-xfgw.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-873q-wpqr-xfgw
Aliases
Published
2022-05-17T04:19:29Z
Modified
2024-09-13T18:01:07.942594Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • 8.1 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U CVSS Calculator
Summary
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.

Database specific
{
    "nvd_published_at": "2014-10-25T22:55:00Z",
    "severity": "HIGH",
    "cwe_ids": [
        "CWE-20"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2023-08-16T23:15:40Z"
}
References

Affected packages

PyPI / bottle

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0.10.0
Fixed
0.10.12

Affected versions

0.*

0.10.1
0.10.2
0.10.3
0.10.4
0.10.5
0.10.6
0.10.7
0.10.8
0.10.9
0.10.10
0.10.11

PyPI / bottle

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0.11.0
Fixed
0.11.7

Affected versions

0.*

0.11.1
0.11.2
0.11.3
0.11.4
0.11.5
0.11.6

PyPI / bottle

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0.12.0
Fixed
0.12.6

Affected versions

0.*

0.12.1
0.12.2
0.12.3
0.12.4
0.12.5