GHSA-w443-5h3j-jqcp: Duplicate Advisory: crossbeam-channel Vulnerable to Double Free on Drop
6.5
CVSS Score
3.1
Basic Information
CVE ID
-
GHSA ID
EPSS Score
-
CWE
Published
5/14/2025
Updated
5/15/2025
KEV Status
No
Technology
Rust
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| crossbeam-channel | rust | >= 0.5.11, < 0.5.15 | 0.5.15 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The analysis is based on the provided commit information from pull request #1187. The commit message explicitly details the race condition within Channel::discard_all_messages and how it leads to Channel::drop performing a double free. The patch modifies Channel::discard_all_messages to prevent this condition. Both functions are therefore critical to understanding and triggering the vulnerability. The discard_all_messages function is where the faulty logic resided, and drop is where the double free would manifest.