CVE-2018-25025 Out-of-bounds Write in actix-web

Critical 9.8 Published Updated

Attackers can trigger memory corruption in the actix-web Rust library, potentially leading to 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-2018-25025?

CVE-2018-25025 is a critical memory corruption 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 actix-web crate before 0.7.15 for Rust. It can unsoundly extend the lifetime of a string, leading to memory corruption.

Weakness: CWE-787

Which versions are affected by CVE-2018-25025?

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

PackageAffectedFixed in
actix-web crates.ioAll versions0.7.19
actix-web crates.ioAll versions0.7.19

Products include Actix Actix-Web.

How do I fix CVE-2018-25025?

Upgrade actix-web to 0.7.19 or later.

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

Is CVE-2018-25025 being exploited?

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

Sources

Also known as GHSA-fgfm-hqjw-3265, UBUNTU-CVE-2018-25025.

Is CVE-2018-25025 in your software?

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

Check your SBOMs for free