GHSA-w443-5h3j-jqcp: Duplicate Advisory Crossbeam-channel Vulnerable To Double Free Vulnerability

MODERATE
CVSS 6.5
CWE-415
Published
Advisory Summary

GHSA-w443-5h3j-jqcp is a MODERATE (CVSS 6.5) crossbeam-channel vulnerable to double free vulnerability (CWE-415: Double Free) affecting Duplicate Advisory libraries in the crates.io ecosystem. The issue involves crossbeam-channel vulnerable to double free on drop. Remediation is available by upgrading affected packages to version 0.5.15.

GHSA-w443-5h3j-jqcp at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-w443-5h3j-jqcp
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-415: Double Free
Affected Product Duplicate Advisory
Package Ecosystem crates.io
Published Date
Last Updated

Security Impact

CVSS: 6.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity Low (I:L)
Availability Low (A:L)

How to Fix GHSA-w443-5h3j-jqcp

To remediate this vulnerability, upgrade all affected Duplicate Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

crossbeam-channel fixed: 0.5.15
Upgrade crossbeam-channel to 0.5.15
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for crossbeam-channel

How to Check if You Are Affected

To determine whether your application is affected by GHSA-w443-5h3j-jqcp, inspect your project dependencies for Duplicate Advisory:

inspect dependencies for crossbeam-channel

Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.5.15), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-415: Double Free, where the product calls free() twice on the same memory address. In Duplicate Advisory, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-pg9f-39pc-qf8g. This link is maintained to preserve external references. ### Original Description In crossbeam-channel rust crate, the internal `Channel` type's `Drop` method has a race condition which could, in some circumstances, lead to a double-free that could result in memory corruption.

GHSA-w443-5h3j-jqcp Affected Duplicate Advisory Versions

1 component(s)
Fixed Versions:
0.5.15
Product / Package Ecosystem Affected Versions Fixed Version
crossbeam-channel
crates.io
≥ 0.5.11
< 0.5.15
0.5.15

References

Frequently Asked Questions

What is GHSA-w443-5h3j-jqcp?
GHSA-w443-5h3j-jqcp is a security vulnerability in Duplicate Advisory involving crossbeam-channel Vulnerable to Double Free on Drop under CWE-415: Double Free.
Which Duplicate Advisory versions are affected?
Affected versions include releases prior to 0.5.15 across affected packages: crossbeam-channel.
What version fixes GHSA-w443-5h3j-jqcp?
Upgrading to 0.5.15 (or the latest patched release for your respective branch) resolves the vulnerability.
Is crossbeam-channel affected?
Yes, crossbeam-channel is affected in releases prior to 0.5.15. Upgrade your dependency to 0.5.15 or later.
What is the CVSS score of GHSA-w443-5h3j-jqcp?
GHSA-w443-5h3j-jqcp has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L.
What CWE is associated with GHSA-w443-5h3j-jqcp?
GHSA-w443-5h3j-jqcp is classified under CWE-415: Double Free (The product calls free() twice on the same memory address.).
How can I check crates.io dependencies for GHSA-w443-5h3j-jqcp?
Run the dependency tree command: 'inspect dependencies for crossbeam-channel'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-w443-5h3j-jqcp",
  "modified" : "2025-05-15T18:26:22Z",
  "published" : "2025-05-14T00:32:21Z",
  "withdrawn" : "2025-05-15T18:26:22Z",
  "aliases" : [ ],
  "summary" : "Duplicate Advisory: crossbeam-channel Vulnerable to Double Free on Drop",
  "details" : "### Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-pg9f-39pc-qf8g. This link is maintained to preserve external references.\n\n### Original Description\nIn crossbeam-channel rust crate, the internal `Channel` type's `Drop` method has a race condition which could, in some circumstances, lead to a double-free that could result in memory corruption.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "crossbeam-channel"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.5.11"
      }, {
        "fixed" : "0.5.15"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-4574"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/crossbeam-rs/crossbeam/pull/1187"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2025-4574"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2358890"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-415" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-05-15T18:26:22Z",
    "nvd_published_at" : "2025-05-13T22:15:25Z"
  }
}