GHSA-96w3-p368-4h8c
Dashboard / Vulnerabilities / GHSA-96w3-p368-4h8c
GHSA-96w3-p368-4h8c
Published: 25 Aug 2021Last Modified: 8 Nov 2023
Aliases:
Summary: Use after free in internment
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://nvd.nist.gov/vuln/detail/CVE-2020-35874, https://github.com/droundy/internment/issues/11, https://github.com/droundy/internment, https://rustsec.org/advisories/RUSTSEC-2020-0017.html
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
