CVE-2020-35901 Use-after-free in actix-http

High 7.5 Published Updated

A use-after-free vulnerability in the actix-http 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-2020-35901?

CVE-2020-35901 is a high-severity 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-http crate before 2.0.0-alpha.1 for Rust. There is a use-after-free in BodyStream.

Weakness: CWE-416

Which versions are affected by CVE-2020-35901?

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

PackageAffectedFixed in
actix-http crates.ioAll versions2.0.0
actix-http crates.ioAll versions2.0.0
actix-http crates.ioFrom 0.0.0-02.0.0-alpha.1

Products include Actix Actix-Http.

How do I fix CVE-2020-35901?

Upgrade actix-http to a fixed version for your release line: 2.0.0 or 2.0.0-alpha.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-35901 being exploited?

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

Sources

Also known as GHSA-v3j6-xf77-8r9c, RUSTSEC-2020-0048.

Is CVE-2020-35901 in your software?

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

Check your SBOMs for free