CVE-2018-25024

An issue was discovered in the actix-web crate before 0.7.15 for Rust

published December 26, 2021

CVSS
—
EPSS
1%
Percentile
70.8
In the wild
Unconfirmed
What it is

⚠️ Unsound coercion is at play here! An immutable reference can be sneakily turned into a mutable one in the actix-web crate before version 0.7.15, and this could lead to some seriously unexpected behavior! 🔥 Think of it like a library where a book is marked as 'non-circulating', yet someone manages to change the rules and take it home — now, that book could end up damaged, or worse, misfiled! The result? Memory corruption could lead to unpredictable application behavior, potentially crashing services or exposing sensitive data. It’s like a metaphorical fire in the library, where once one book gets out of hand, the whole system could rise in smoke!

Put simply

Think of it like a library where a book is marked as 'non-circulating', yet someone manages to change the rules and take it home — now, that book could end up damaged, or worse, misfiled! This vulnerability occurs when an immutable reference is wrongly coerced into a mutable one, which is a big no-no in Rust's safety-first approach, leading to memory corruption issues.

What to do

The result? Memory corruption could lead to unpredictable application behavior, potentially crashing services or exposing sensitive data. It’s like a metaphorical fire in the library, where once one book gets out of hand, the whole system could rise in smoke! To safeguard your application, update the actix-web crate to version 0.7.15 or later. It’s essential to check your dependencies and ensure you’re running the latest and safest versions. Don’t let this library oversight lead to chaos! You've got this! With a quick update, you'll ensure your actix-web application stays safe and sound. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01331 · 70.8th percentile
Published
2021-12-26T21:55Z
EPSS history
Timeline
  • 26 DEC 21:55Z
    An issue was discovered in the actix-web crate before 0.7.15 for Rust
    cvelistv5