CVE-2020-35873

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

published December 31, 2020

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

⚠️ A sneaky use-after-free bug in the rusqlite crate could leave your Rust applications vulnerable! Think of this like a library that lets you borrow a book but forgets to mark it as checked out. If someone else tries to borrow it, chaos ensues when they suddenly have access to something that’s supposed to be gone! This vulnerability can lead to unexpected behavior and potential crashes in your application, as the program could try to access freed memory. While it hasn't been exploited in the wild, the implications of such memory safety violations are still startling!

Put simply

Think of this like a library that lets you borrow a book but forgets to mark it as checked out. If someone else tries to borrow it, chaos ensues when they suddenly have access to something that’s supposed to be gone! The rusqlite crate before version 0.23.0 contains a use-after-free issue in sessions.rs, allowing unsafe memory access that can compromise program stability and safety.

What to do

This vulnerability can lead to unexpected behavior and potential crashes in your application, as the program could try to access freed memory. While it hasn't been exploited in the wild, the implications of such memory safety violations are still startling! Upgrade rusqlite to version 0.23.0 or later immediately to address this issue. It’s crucial to review any code that interacts with memory management closely, as lingering vulnerabilities can often be overlooked. You've got this! Following these steps, you'll keep your Rust projects safe and sound. 🛡️

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