CVE-2020-35898 Use after free in actix-utils

Critical 9.1 Published Updated

A flaw in the actix-utils crate allows obtaining multiple mutable references, potentially leading to memory corruption and code execution.

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

CVE-2020-35898 is a critical use after free vulnerability in n/a, published on 31 Dec 2020. 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 actix-utils crate before 2.0.0 for Rust. The Cell implementation allows obtaining more than one mutable reference to the same data.

Weakness: CWE-416

Which versions are affected by CVE-2020-35898?

3 open source packages ship an affected version, including actix-utils. It affects 1 product.

PackageAffectedFixed in
actix-utils crates.ioAll versions2.0.0
actix-utils crates.ioAll versions2.0.0
actix-utils crates.ioFrom 0.0.0-02.0.0

Products include Actix Actix-Utils.

How do I fix CVE-2020-35898?

Upgrade actix-utils to 2.0.0 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-35898 being exploited?

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

Sources

Also known as GHSA-hhw2-pqhf-vmx2, RUSTSEC-2020-0045.

Is CVE-2020-35898 in your software?

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

Check your SBOMs for free