CVE-2021-31239 Denial of service in n/a

High 7.5 Published Updated

A remote attacker can cause a denial of service in SQLite via the appendvfs.c function, affecting applications using this library.

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

What is CVE-2021-31239?

CVE-2021-31239 is a high-severity denial of service vulnerability in Sqlite Sqlite, published on 9 May 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An issue found in SQLite SQLite3 v.3.35.4 that allows a remote attacker to cause a denial of service via the appendvfs.c function.

Weakness: CWE-125

Which versions are affected by CVE-2021-31239?

1 open source package ship an affected version, including sqlite. It affects 1 product.

PackageAffectedFixed in
sqlite BitnamiFrom 3.35.43.35.5

Products include Sqlite Sqlite.

How do I fix CVE-2021-31239?

Upgrade sqlite to 3.35.5 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-2021-31239 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-31239 exists.

All Sqlite Sqlite vulnerabilities

Sources

Also known as BIT-sqlite-2021-31239, DEBIAN-CVE-2021-31239, GHSA-mv5m-45gv-gh97.

Is CVE-2021-31239 in your software?

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

Check your SBOMs for free