CVE-2020-35872

An issue was discovered in the rusqlite crate before 0.23.0 for Rust

published December 31, 2020

CVSS
—
EPSS
2%
Percentile
77.5
In the wild
Unconfirmed
What it is

⚠️ A memory safety issue lurks in the rusqlite crate before version 0.23.0, where the repr(Rust) type could lead to unexpected behavior! Think of it like a dinner party where the chef accidentally mixes up the ingredients — you might end up with some surprisingly wild flavors that could ruin the meal! If an attacker finds a way to exploit this memory safety violation, they could potentially manipulate how data is stored or accessed. This could lead to crashes, unexpected behaviors, or even data corruption in applications relying on rusqlite.

Put simply

Think of it like a dinner party where the chef accidentally mixes up the ingredients — you might end up with some surprisingly wild flavors that could ruin the meal! This vulnerability arises from improper handling of memory safety in the rusqlite crate, specifically linked to the repr(Rust) type, which can allow unsafe memory operations under certain conditions.

What to do

If an attacker finds a way to exploit this memory safety violation, they could potentially manipulate how data is stored or accessed. This could lead to crashes, unexpected behaviors, or even data corruption in applications relying on rusqlite. To safeguard against this issue, update rusqlite to version 0.23.0 or later immediately. Additionally, review your code for any unsafe memory handling practices that could be contributing to this vulnerability. You've got this! With these actions, you're well on your way to solidifying your application's safety. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01736 · 77.5th percentile
Published
2020-12-31T08:28Z
EPSS history
Timeline
  • 31 DEC 08:28Z
    An issue was discovered in the rusqlite crate before 0.23.0 for Rust
    cvelistv5