CVE-2022-31799Bottlepy Bottle
Critical 9.8 No auth needed
Follow: this CVE · Bottlepy · Bottlepy Bottle We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 1.9% probability of exploitation in 30 days · percentile 80
- Auth required
- No
- Published
- Jun 2, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-755
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
Bottle before 0.12.20 mishandles errors during early request binding.
What to do
- Apply the vendor's security update for Bottle.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | bottle |
< 0.12.20 |
0.12.20 |
pip install "bottle>=0.12.20" |
| PyPI | bottle |
< 0.12.20 |
0.12.20 |
pip install "bottle>=0.12.20" |
Per OSV / GitHub Advisories (GHSA-xhp9-4947-rq78, PYSEC-2022-227). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| bottlepy | bottle | < 0.12.20 |
| debian | debian_linux | 9.0 |
| debian | debian_linux | 10.0 |
| debian | debian_linux | 11.0 |
| fedoraproject | fedora | 35 |
| fedoraproject | fedora | 36 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- www.debian.org Third Party Advisory