Lookup for vulnerabilities affecting packages.

GET /api/vulnerabilities/30314?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/30314?format=api",
    "vulnerability_id": "VCID-7mwd-wjet-eqhd",
    "summary": "Duplicate Advisory: crossbeam-channel Vulnerable to Double Free on Drop\n### 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.",
    "aliases": [
        {
            "alias": "GHSA-w443-5h3j-jqcp"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1025832?format=api",
            "purl": "pkg:cargo/crossbeam-channel@0.5.15",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:cargo/crossbeam-channel@0.5.15"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1025864?format=api",
            "purl": "pkg:cargo/crossbeam-channel@0.5.11",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7mwd-wjet-eqhd"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:cargo/crossbeam-channel@0.5.11"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/security/cve/CVE-2025-4574",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://access.redhat.com/security/cve/CVE-2025-4574"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2358890",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2358890"
        },
        {
            "reference_url": "https://github.com/crossbeam-rs/crossbeam/pull/1187",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/crossbeam-rs/crossbeam/pull/1187"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2025-4574",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-4574"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-w443-5h3j-jqcp",
            "reference_id": "GHSA-w443-5h3j-jqcp",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-w443-5h3j-jqcp"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 415,
            "name": "Double Free",
            "description": "The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations."
        }
    ],
    "exploits": [],
    "severity_range_score": "4.0 - 6.9",
    "exploitability": "0.5",
    "weighted_severity": "6.2",
    "risk_score": 3.1,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-7mwd-wjet-eqhd"
}