VDB
CVE-2022-31799
CVE-2022-31799
PUBLISHED
CVSS 9.800000190734863 CRITICAL
Bottle before 0.12.20 mishandles errors during early request binding.
Reported by mitre · Published May 29, 2022
bottle is fixed in e140e1b54da721a660f2eb9d58a106b7b3ff2f00 and 0.12.20 (PyPI)
Bottle before 0.12.20 mishandles errors during early request binding.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| bottle | PyPI | e140e1b54da721a660f2eb9d58a106b7b3ff2f00, 0.12.20 |
| py3-bottle | Alpine | 0.12.21-r0 |
| python3-bottle | Amazon Linux | 0.12.21-2.amzn2023.0.1, 0.12.21-2.amzn2 |
| bottle | bottlepy | 0.12.20 |
Risk scores
CVSS 3.1
9.800000190734863
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| alpine | py3-bottle | 0 |
| amazon:2023 | python3-bottle | 0 |
| amazon:2 | python3-bottle | 0 |
| n/a | n/a | * |
| PyPI | bottle | 0 |
Timeline
- May 29, 2022 CVE Published
- May 30, 2022 EPSS Score (30 in total, the first dated here)
- Feb 16, 2025 CVE Updated
- Mar 9, 2026 Security Advisory (6 in total, the first dated here)
- Jun 24, 2026 Coalition ESS Score
- Oct 31, 2026 Distribution Patch (5 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-31799
vulnetix vdb fixes CVE-2022-31799
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-31799/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- [debian-lts-announce] 20220608 [SECURITY] [DLA 3048-1] python-bottle security update mailing-listx_refsource_MLIST
- DSA-5159 vendor-advisoryx_refsource_DEBIAN
- FEDORA-2022-c1e107f37f vendor-advisoryx_refsource_FEDORA
- FEDORA-2022-cc9a173168 vendor-advisoryx_refsource_FEDORA
- https://nvd.nist.gov/vuln/detail/CVE-2022-31799 advisory
- https://github.com/advisories/GHSA-xhp9-4947-rq78 advisory
- https://github.com/bottlepy/bottle url
- https://github.com/pypa/advisory-database/tree/main/vulns/bottle/PYSEC-2022-227.yaml advisory
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IE7U6J45PUEXIYYVWJKPM6QXIRKDK4HD url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KTLOQGMDZEPIYTFC2G53OQV2ULCGYS3F url