{"id":"GHSA-873q-wpqr-xfgw","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.","aliases":["CVE-2014-3137","PYSEC-2014-77"],"modified":"2024-09-13T18:03:32.549533Z","published":"2022-05-17T04:19:29Z","database_specific":{"nvd_published_at":"2014-10-25T22:55:00Z","cwe_ids":["CWE-20"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2023-08-16T23:15:40Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-3137"},{"type":"WEB","url":"https://github.com/bottlepy/bottle/issues/616"},{"type":"WEB","url":"https://github.com/defnull/bottle/issues/616"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1093255"},{"type":"PACKAGE","url":"https://github.com/bottlepy/bottle"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/bottle/PYSEC-2014-77.yaml"},{"type":"WEB","url":"http://www.debian.org/security/2014/dsa-2948"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2014/05/01/15"}],"affected":[{"package":{"name":"bottle","ecosystem":"PyPI","purl":"pkg:pypi/bottle"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.10.0"},{"fixed":"0.10.12"}]}],"versions":["0.10.1","0.10.10","0.10.11","0.10.2","0.10.3","0.10.4","0.10.5","0.10.6","0.10.7","0.10.8","0.10.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-873q-wpqr-xfgw/GHSA-873q-wpqr-xfgw.json"}},{"package":{"name":"bottle","ecosystem":"PyPI","purl":"pkg:pypi/bottle"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.11.0"},{"fixed":"0.11.7"}]}],"versions":["0.11.1","0.11.2","0.11.3","0.11.4","0.11.5","0.11.6"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-873q-wpqr-xfgw/GHSA-873q-wpqr-xfgw.json"}},{"package":{"name":"bottle","ecosystem":"PyPI","purl":"pkg:pypi/bottle"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.12.0"},{"fixed":"0.12.6"}]}],"versions":["0.12.1","0.12.2","0.12.3","0.12.4","0.12.5"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-873q-wpqr-xfgw/GHSA-873q-wpqr-xfgw.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"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"}]}