Publish Advisories

GHSA-pg9f-39pc-qf8g
GHSA-w443-5h3j-jqcp
GHSA-w443-5h3j-jqcp
This commit is contained in:
advisory-database[bot]
2025-05-15 18:28:15 +00:00
parent 66d1c9a407
commit 3ab5b1aae9
3 changed files with 80 additions and 46 deletions
@@ -1,9 +1,11 @@
{
"schema_version": "1.4.0",
"id": "GHSA-pg9f-39pc-qf8g",
"modified": "2025-04-10T14:30:39Z",
"modified": "2025-05-15T18:26:52Z",
"published": "2025-04-10T14:30:39Z",
"aliases": [],
"aliases": [
"CVE-2025-4574"
],
"summary": "crossbeam-channel Vulnerable to Double Free on Drop",
"details": "The internal `Channel` type's `Drop` method has a race\nwhich could, in some circumstances, lead to a double-free.\nThis could result in memory corruption.\n\nQuoting from the\n[upstream description in merge request \\#1187](https://github.com/crossbeam-rs/crossbeam/pull/1187#issue-2980761131):\n\n> The problem lies in the fact that `dicard_all_messages` contained two paths that could lead to `head.block` being read but only one of them would swap the value. This meant that `dicard_all_messages` could end up observing a non-null block pointer (and therefore attempting to free it) without setting `head.block` to null. This would then lead to `Channel::drop` making a second attempt at dropping the same pointer.\n\nThe bug was introduced while fixing a memory leak, in\nupstream [MR \\#1084](https://github.com/crossbeam-rs/crossbeam/pull/1084),\nfirst published in 0.5.12.\n\nThe fix is in\nupstream [MR \\#1187](https://github.com/crossbeam-rs/crossbeam/pull/1187)\nand has been published in 0.5.15",
"severity": [
@@ -34,10 +36,22 @@
}
],
"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"
},
{
"type": "PACKAGE",
"url": "https://github.com/crossbeam-rs/crossbeam"
@@ -0,0 +1,64 @@
{
"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"
}
}
@@ -1,44 +0,0 @@
{
"schema_version": "1.4.0",
"id": "GHSA-w443-5h3j-jqcp",
"modified": "2025-05-14T00:32:21Z",
"published": "2025-05-14T00:32:21Z",
"aliases": [
"CVE-2025-4574"
],
"details": "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.",
"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": [],
"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": false,
"github_reviewed_at": null,
"nvd_published_at": "2025-05-13T22:15:25Z"
}
}