CVE-2018-25024 Out-of-bounds Write in actix-web
Attackers can exploit unsound reference coercion in the actix-web Rust library to cause memory corruption, 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-25024?
CVE-2018-25024 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 coerce an immutable reference into a mutable reference, leading to memory corruption.
Weakness: CWE-787
Which versions are affected by CVE-2018-25024?
2 open source packages ship an affected version, including actix-web. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
actix-web crates.io | All versions | 0.7.19 |
actix-web crates.io | All versions | 0.7.19 |
Products include Actix Actix-Web.
How do I fix CVE-2018-25024?
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-25024 being exploited?
There is no known exploitation of CVE-2018-25024 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-9qj6-4rfq-vm84, UBUNTU-CVE-2018-25024.