CVE-2022-31799 Denial of service in bottle

Critical 9.8 Published Updated

Attackers can cause a denial of service in the Bottle web framework by sending malformed requests that trigger unhandled errors during binding.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-31799?

CVE-2022-31799 is a critical denial of service vulnerability in Debian Debian Linux, published on 29 May 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Bottle before 0.12.20 mishandles errors during early request binding.

Weakness: CWE-755

Which versions are affected by CVE-2022-31799?

3 open source packages ship an affected version, including bottle. It affects 3 products.

PackageAffectedFixed in
bottle PyPIAll versions0.12.20
bottle PyPIAll versions0.12.20
bottle PyPIAll versions0.12.20
Linux distribution packages (24)
python-bottle SUSE:Enterprise Storage 6All versions0.12.13-150000.3.6.1
python-bottle SUSE:Enterprise Storage 7All versions0.12.13-150000.3.6.1
python-bottle SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOSAll versions0.12.13-150000.3.6.1
python-bottle SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSSAll versions0.12.13-150000.3.6.1
python-bottle SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOSAll versions0.12.13-150000.3.6.1
python-bottle SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSAll versions0.12.13-150000.3.6.1
python-bottle SUSE:Linux Enterprise High Performance Computing 15-ESPOSAll versions0.12.13-150000.3.6.1
python-bottle SUSE:Linux Enterprise High Performance Computing 15-LTSSAll versions0.12.13-150000.3.6.1
python-bottle SUSE:Linux Enterprise Module for Desktop Applications 15 SP3All versions0.12.13-150000.3.6.1
python-bottle SUSE:Linux Enterprise Module for Desktop Applications 15 SP4All versions0.12.13-150000.3.6.1
python-bottle SUSE:Linux Enterprise Module for Python 2 15 SP3All versions0.12.13-150000.3.6.1
python-bottle SUSE:Linux Enterprise Server 15 SP1-BCLAll versions0.12.13-150000.3.6.1
python-bottle SUSE:Linux Enterprise Server 15 SP1-LTSSAll versions0.12.13-150000.3.6.1
python-bottle SUSE:Linux Enterprise Server 15 SP2-BCLAll versions0.12.13-150000.3.6.1
python-bottle SUSE:Linux Enterprise Server 15 SP2-LTSSAll versions0.12.13-150000.3.6.1
python-bottle SUSE:Linux Enterprise Server 15-LTSSAll versions0.12.13-150000.3.6.1
python-bottle SUSE:Linux Enterprise Server for SAP Applications 15All versions0.12.13-150000.3.6.1
python-bottle SUSE:Linux Enterprise Server for SAP Applications 15 SP1All versions0.12.13-150000.3.6.1
python-bottle SUSE:Linux Enterprise Server for SAP Applications 15 SP2All versions0.12.13-150000.3.6.1
python-bottle SUSE:Manager Proxy 4.1All versions0.12.13-150000.3.6.1
python-bottle SUSE:Manager Retail Branch Server 4.1All versions0.12.13-150000.3.6.1
python-bottle SUSE:Manager Server 4.1All versions0.12.13-150000.3.6.1
python-bottle openSUSE:Leap 15.3All versions0.12.13-150000.3.6.1
python-bottle openSUSE:Leap 15.4All versions0.12.13-150000.3.6.1

Products include Bottlepy Bottle, Debian Debian Linux, Fedoraproject Fedora.

How do I fix CVE-2022-31799?

Upgrade bottle to 0.12.20 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2022-31799 being exploited?

There is no known exploitation of CVE-2022-31799 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2022-31799, DLA-3048-1, DSA-5159-1, GHSA-xhp9-4947-rq78, MGASA-2022-0245, OESA-2022-1712 and 5 more.

Is CVE-2022-31799 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free