CVE-2020-35898

An issue was discovered in the actix-utils crate before 2.0.0 for Rust

published December 31, 2020

CVSS
โ€”
EPSS
1%
Percentile
72.8
In the wild
Unconfirmed
What it is

โš ๏ธ A surprising gap in the actix-utils crate lets you hold more than one mutable reference to the same data! This could lead to some unintentional chaos in your Rust applications. ๐Ÿ˜ฒ Think of it like a restaurant with a single recipe book, but multiple chefs suddenly get access to change the same dish at the same time โ€” not a great idea! It leads to inconsistencies and possible disasters in the kitchen. If exploited, this could cause data races, leading to unpredictable behavior in your applications โ€” and nobody wants their app to start acting like a runaway chef! While this isn't currently known to be exploited, the potential for confusion is there, making it essential to address.

Put simply

Think of it like a restaurant with a single recipe book, but multiple chefs suddenly get access to change the same dish at the same time โ€” not a great idea! It leads to inconsistencies and possible disasters in the kitchen. This vulnerability in actix-utils before version 2.0.0 allows multiple mutable references to the same data via the Cell implementation, breaking Rust's borrowing rules and potentially leading to data corruption.

What to do

If exploited, this could cause data races, leading to unpredictable behavior in your applications โ€” and nobody wants their app to start acting like a runaway chef! While this isn't currently known to be exploited, the potential for confusion is there, making it essential to address. Upgrade the actix-utils crate to version 2.0.0 or later to close this vulnerability. Also, review your code for any instances where mutable references are used to ensure safe concurrency practices are in place. You've got this! With a quick update, you'll be keeping your Rust applications safe and sound! ๐Ÿ›ก๏ธ

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01428 ยท 72.8th percentile
Published
2020-12-31T08:23Z
EPSS history
Timeline
  • 31 DEC 08:23Z
    An issue was discovered in the actix-utils crate before 2.0.0 for Rust
    cvelistv5