CVE-2021-31162
9.8
CRITICAL
CVSS 3.1
EPSS 2.9%
Description
In the standard library in Rust before 1.52.0, a double free can occur in the Vec::from_iter function if freeing the element panics.
How to fix CVE-2021-31162
To remediate CVE-2021-31162, upgrade the affected package to a fixed version below.
- Alpine/rust—upgrade to 1.51.0-r2 or later
Is CVE-2021-31162 being exploited?
Low — EPSS is 2.9%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- >= 1.48.0, < 1.51.0-r2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |