CVE-2021-45701 Use After Free in tremor-script

Critical 9.8 Published Updated

A use-after-free vulnerability in the tremor-script Rust library allows attackers to potentially execute arbitrary code or cause a denial of service via patch operations.

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-45701?

CVE-2021-45701 is a critical 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 tremor-script crate before 0.11.6 for Rust. A patch operation may result in a use-after-free.

Weakness: CWE-416

Which versions are affected by CVE-2021-45701?

2 open source packages ship an affected version, including tremor-script. It affects 1 product.

PackageAffectedFixed in
tremor-script crates.ioFrom 0.7.20.11.6
tremor-script crates.ioFrom 0.7.20.11.6

Products include Linuxfoundation Tremor-Script.

How do I fix CVE-2021-45701?

Upgrade tremor-script to 0.11.6 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-2021-45701 being exploited?

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

Sources

Also known as GHSA-q2x5-6q7q-r872.

Is CVE-2021-45701 in your software?

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

Check your SBOMs for free