RUSTSEC-2020-0017
Dashboard / Vulnerabilities / RUSTSEC-2020-0017
RUSTSEC-2020-0017
Published: 28 May 2020Last Modified: 8 Nov 2023
Aliases:
Summary: Use after free in ArcIntern::drop
Details: `ArcIntern::drop` has a race condition where it can release memory which is about to get another user. The new user will get a reference to freed memory. This was fixed by serializing access to an interned object while it is being deallocated. Versions prior to 0.3.12 used stronger locking which avoided the problem.
References: https://crates.io/crates/internment, https://rustsec.org/advisories/RUSTSEC-2020-0017.html, https://github.com/droundy/internment/issues/11
Affected packages
Package
Name: internment
Purl: pkg:cargo/internment
Affected ranges
Type: SEMVER
Events:
Introduced- 0.3.12
Fixed -0.4.0
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
