CVE-2020-35894 Unaligned references in Obstack

High 7.5 Published Updated

Unaligned references in the Rust obstack crate can lead to memory corruption, potentially allowing code execution or crashes.

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

CVE-2020-35894 is a high-severity memory corruption 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 obstack crate before 0.1.4 for Rust. Unaligned references can occur.

Weakness: CWE-706

Which versions are affected by CVE-2020-35894?

3 open source packages ship an affected version, including obstack. It affects 1 product.

PackageAffectedFixed in
obstack crates.ioAll versions0.1.4
obstack crates.ioAll versions0.1.4
obstack crates.ioFrom 0.0.0-00.1.4

Products include Obstack Project Obstack.

How do I fix CVE-2020-35894?

Upgrade obstack to 0.1.4 or later.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2020-35894 being exploited?

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

Sources

Also known as GHSA-85j6-f8j6-q26x, RUSTSEC-2020-0040.

Is CVE-2020-35894 in your software?

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

Check your SBOMs for free