CVE-2021-45718 Use after free in n/a

High 7.5 Published Updated

A use-after-free vulnerability in the rusqlite crate 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-2021-45718?

CVE-2021-45718 is a high-severity use after free vulnerability in n/a, published on 26 Dec 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An issue was discovered in the rusqlite crate 0.25.x before 0.25.4 and 0.26.x before 0.26.2 for Rust. rollback_hook has a use-after-free.

Weakness: CWE-416

Which versions are affected by CVE-2021-45718?

It affects 1 product.

Products include Rusqlite Project Rusqlite.

How do I fix CVE-2021-45718?

Upgrade to a fixed version.

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-2021-45718 being exploited?

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

Sources

Is CVE-2021-45718 in your software?

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

Check your SBOMs for free