CVE-2021-25907 – containers
Package
Manager: cargo
Name: containers
Vulnerable Version: >=0 <0.9.11
Severity
Level: Critical
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS: 0.00418 pctl0.61024
Details
Double free in containers Upon panic in a user-provided function f, fn mutate() & fn mutate2 drops twice a same object. Affected versions of this crate did not guard against double drop while temporarily duplicating an object's ownership with ptr::read(). Dropping a same object can result in memory corruption. The flaw was corrected in version "0.9.11" by fixing the code to abort upon panic.
Metadata
Created: 2021-08-25T20:53:05Z
Modified: 2023-06-13T17:00:36Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-cv7x-6rc6-pq5v/GHSA-cv7x-6rc6-pq5v.json
CWE IDs: ["CWE-415"]
Alternative ID: GHSA-cv7x-6rc6-pq5v
Finding: F138
Auto approve: 1