Vulnerability · Published May 29, 2022 · Assigned by mitre
CVE-2022-31799
Critical 9.8
In plain English
A critical-severity security flaw in the py3-bottle package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.1% (higher than 82% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)2.1%top 17.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
Bottle before 0.12.20 mishandles errors during early request binding.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | py3-bottle | 0.12.21-r0 | ALPINE-CVE-2022-31799 |
| Alpine:v3.21 | py3-bottle | 0.12.21-r0 | ALPINE-CVE-2022-31799 |
| Alpine:v3.22 | py3-bottle | 0.12.21-r0 | ALPINE-CVE-2022-31799 |
| Alpine:v3.23 | py3-bottle | 0.12.21-r0 | ALPINE-CVE-2022-31799 |
| Alpine:v3.24 | py3-bottle | 0.12.21-r0 | ALPINE-CVE-2022-31799 |
| Debian:12 | python-bottle | 0.12.20-1 | DEBIAN-CVE-2022-31799 |
| Debian:13 | python-bottle | 0.12.20-1 | DEBIAN-CVE-2022-31799 |
| Debian:14 | python-bottle | 0.12.20-1 | DEBIAN-CVE-2022-31799 |
| PyPI | bottle | 0.12.20 | PYSEC-2022-227 |
| PyPI | bottle | 0.12.20 | GHSA-xhp9-4947-rq78 |
| Ubuntu:22.04:LTS | python-bottle | 0.12.19-1+deb11u1build0.22.04.1 | UBUNTU-CVE-2022-31799 |
| Ubuntu:22.04:LTS | python-bottle | 0.12.19-1+deb11u1build0.22.04.1 | USN-5532-1 |
Affected products (as reported)
References
- https://github.com/bottlepy/bottle/commit/e140e1b54da721a660f2eb9d58a106b7b3ff2f00 x_refsource_MISC
- https://github.com/bottlepy/bottle/commit/a2b0ee6bb4ce88895429ec4aca856616244c4c4c x_refsource_MISC
- https://github.com/bottlepy/bottle/compare/0.12.19...0.12.20 x_refsource_MISC
- [debian-lts-announce] 20220608 [SECURITY] [DLA 3048-1] python-bottle security update mailing-list, x_refsource_MLIST
- DSA-5159 vendor-advisory, x_refsource_DEBIAN
- FEDORA-2022-c1e107f37f vendor-advisory, x_refsource_FEDORA
- FEDORA-2022-cc9a173168 vendor-advisory, x_refsource_FEDORA