{"id":"UBUNTU-CVE-2022-31799","details":"Bottle before 0.12.20 mishandles errors during early request binding.","modified":"2026-01-30T01:21:57.701479Z","published":"2022-06-02T14:15:00Z","related":["USN-5532-1","USN-5532-2"],"upstream":["CVE-2022-31799"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-31799"},{"type":"REPORT","url":"https://github.com/bottlepy/bottle/commit/e140e1b54da721a660f2eb9d58a106b7b3ff2f00"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5532-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-31799"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5532-2"}],"affected":[{"package":{"name":"python-bottle","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/python-bottle@0.12.0-1ubuntu0.1~esm3?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.0-1ubuntu0.1~esm3"}]}],"versions":["0.11.6-1","0.12.0-1","0.12.0-1ubuntu0.1~esm1","0.12.0-1ubuntu0.1~esm2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_version":"0.12.0-1ubuntu0.1~esm3","binary_name":"python-bottle"},{"binary_name":"python3-bottle","binary_version":"0.12.0-1ubuntu0.1~esm3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-31799.json"}},{"package":{"name":"python-bottle","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/python-bottle@0.12.7-1+deb8u1ubuntu0.1~esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.7-1+deb8u1ubuntu0.1~esm1"}]}],"versions":["0.12.7-1","0.12.7-1+deb8u1build0.16.04.1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"python-bottle","binary_version":"0.12.7-1+deb8u1ubuntu0.1~esm1"},{"binary_name":"python3-bottle","binary_version":"0.12.7-1+deb8u1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-31799.json"}},{"package":{"name":"python-bottle","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/python-bottle@0.12.13-1ubuntu0.2?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.13-1ubuntu0.2"}]}],"versions":["0.12.13-1","0.12.13-1ubuntu0.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"python-bottle","binary_version":"0.12.13-1ubuntu0.2"},{"binary_name":"python3-bottle","binary_version":"0.12.13-1ubuntu0.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-31799.json"}},{"package":{"name":"python-bottle","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/python-bottle@0.12.15-2.1ubuntu0.2?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.15-2.1ubuntu0.2"}]}],"versions":["0.12.15-2","0.12.15-2build1","0.12.15-2.1","0.12.15-2.1ubuntu0.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"python3-bottle","binary_version":"0.12.15-2.1ubuntu0.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-31799.json"}},{"package":{"name":"python-bottle","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/python-bottle@0.12.19-1+deb11u1build0.22.04.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.19-1+deb11u1build0.22.04.1"}]}],"versions":["0.12.19-1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"python3-bottle","binary_version":"0.12.19-1+deb11u1build0.22.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-31799.json"}}],"schema_version":"1.7.3","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":"Ubuntu","score":"medium"}]}