CVE-2020-35902 Use-after-free in actix-codec

Critical 9.8 Published Updated

A use-after-free vulnerability in the actix-codec Rust library allows attackers to potentially execute arbitrary code or cause 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-35902?

CVE-2020-35902 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-codec crate before 0.3.0-beta.1 for Rust. There is a use-after-free in Framed.

Weakness: CWE-416

Which versions are affected by CVE-2020-35902?

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

PackageAffectedFixed in
actix-codec crates.ioAll versions0.3.0
actix-codec crates.ioAll versions0.3.0
actix-codec crates.ioFrom 0.0.0-00.3.0-beta.1

Products include Actix Actix-Codec.

How do I fix CVE-2020-35902?

Upgrade actix-codec to a fixed version for your release line: 0.3.0 or 0.3.0-beta.1.

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-35902 being exploited?

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

Sources

Also known as GHSA-rqgx-hpg4-456r, RUSTSEC-2020-0049.

Is CVE-2020-35902 in your software?

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

Check your SBOMs for free