CVE-2020-13871 Use after free in n/a

High 7.5 Published Updated

A use-after-free in SQLite's window function handling allows attackers to potentially execute arbitrary code or cause a denial of service.

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

What is CVE-2020-13871?

CVE-2020-13871 is a high-severity use after free vulnerability in Debian Debian Linux, published on 6 Jun 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

SQLite 3.32.2 has a use-after-free in resetAccumulator in select.c because the parse tree rewrite for window functions is too late.

Weakness: CWE-416

Which versions are affected by CVE-2020-13871?

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

PackageAffectedFixed in
sqlite BitnamiFrom 3.32.23.32.3

Products include Debian Debian Linux, Fedoraproject Fedora, Netapp Cloud Backup, Netapp Ontap Select Deploy Administration Utility, Oracle Communications Messaging Server, Oracle Communications Network Charging and Control and 6 more.

How do I fix CVE-2020-13871?

Upgrade sqlite to 3.32.3 or later.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2020-13871 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as A-192606047, ASB-A-192606047, BIT-sqlite-2020-13871, DEBIAN-CVE-2020-13871, GHSA-wjq2-9xcc-v8x3.

Is CVE-2020-13871 in your software?

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

Check your SBOMs for free