CVE-2020-35874: Use after free in internment
8.1
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.59546%
CWE
Published
8/25/2021
Updated
6/13/2023
KEV Status
No
Technology
Rust
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
internment | rust | >= 0.3.12, < 0.4.0 | 0.4.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability directly references ArcIntern::drop
in both the CVE description and GitHub advisory. The associated GitHub issue #11 explicitly points to the unsafe reference count decrement operation in this function as the race condition source. The fix involved adding proper synchronization during deallocation, confirming this was the vulnerable code path. The file path is derived from the code snippet shown in the GitHub issue discussion.