CVE-2018-20991

An issue was discovered in the smallvec crate before 0.6.3 for Rust

published August 26, 2019

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

⚠️ A double free in the smallvec crate could leave your Rust project teetering on the edge! 🚀 Think of it like a busy kitchen where a chef accidentally throws out the same pot twice — it’s a recipe for disaster! If the wrong ingredients are used, the whole meal could be ruined. An attacker could exploit this oversight to cause unexpected behavior or crashes in your application. While this may not seem catastrophic, a runaway process could lead to resource exhaustion, slowing down your system dramatically.

Put simply

Think of it like a busy kitchen where a chef accidentally throws out the same pot twice — it’s a recipe for disaster! If the wrong ingredients are used, the whole meal could be ruined. This vulnerability occurs due to mishandling of destructors in the Iterator implementation of the smallvec crate, particularly affecting versions before 0.6.3, resulting in a double free of memory resources.

What to do

An attacker could exploit this oversight to cause unexpected behavior or crashes in your application. While this may not seem catastrophic, a runaway process could lead to resource exhaustion, slowing down your system dramatically. Update the smallvec crate to version 0.6.3 or later to fix this issue. Regularly review your dependencies to ensure none are outdated, and consider implementing memory safety checks during development. You've got this! Follow these steps to keep your Rust projects running smoothly! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01848 · 78.9th percentile
Published
2019-08-26T14:23Z
EPSS history
Timeline
  • 26 AUG 14:23Z
    An issue was discovered in the smallvec crate before 0.6.3 for Rust
    cvelistv5