Bottle before 0.12.20 mishandles errors during early request binding.
Priority MEDIUM 46CWE-755Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.
Summary
Bottle before 0.12.20 mishandles errors during early request binding.
Why it matters now
EPSS 0.02136 82nd percentileScored 2026-11-07
Fix Fixed bottle (PyPI): 0.12.20
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | bottle (PyPI) | before 0.12.20 | 0.12.20 | Patch available | GHSA-xhp9-4947-rq78 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- bottle (PyPI) Vendor— Affected before 0.12.20 Fixed in 0.12.20 Patch available GHSA-xhp9-4947-rq78
CPE configurations NVD · 6
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:bottlepy:bottle:*:*:*:*:*:*:*:* | before 0.12.20 | Vulnerable | Bottlepy |
| cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* | 10.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* | 11.0 | Vulnerable | Debian |
| cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* | 35 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* | 36 | Vulnerable | Fedoraproject |
- cpe:2.3:a:bottlepy:bottle:*:*:*:*:*:*:*:* Versions before 0.12.20 Vulnerable ·Bottlepy
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* Versions 11.0 Vulnerable ·Debian
- cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* Versions 35 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* Versions 36 Vulnerable ·Fedoraproject
Remediation
- Fix · GHSA-xhp9-4947-rq78 bottle (PyPI) Fixed in 0.12.20 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2022-31799
- 2026-10-03 Alias added: GHSA-xhp9-4947-rq78
References
Patch 2
Advisory 7
Other 4
- https://github.com/bottlepy/bottle
- https://github.com/pypa/advisory-database/tree/main/vulns/bottle/PYSEC-2022-227.yaml
- https://lists.fedoraproject.org/archives/list/[email protected]/message/IE7U6J45PUEXIYYVWJKPM6QXIRKDK4HD
- https://lists.fedoraproject.org/archives/list/[email protected]/message/KTLOQGMDZEPIYTFC2G53OQV2ULCGYS3F
Sources
- CVE-2022-31799 · CVE Program
- CVE-2022-31799 · NVD
- FIRST EPSS
- GHSA-xhp9-4947-rq78 · GitHub Advisory Database · CC BY 4.0
- CVE-2022-31799 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences