Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/54101?format=api",
    "vulnerability_id": "VCID-br2s-a15r-6ffr",
    "summary": "Channel creates zero value of any type\nAffected versions of this crate called `mem::zeroed()` to create values of a user-supplied type `T`.\nThis is unsound e.g. if `T` is a reference type (which must be non-null).\n \nThe flaw was corrected by avoiding the use of `mem::zeroed()`, using `MaybeUninit` instead.",
    "aliases": [
        {
            "alias": "GHSA-9g55-pg62-m8hh"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/144070?format=api",
            "purl": "pkg:cargo/crossbeam-channel@0.4.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-unmm-942j-gkh7"
                },
                {
                    "vulnerability": "VCID-w377-ghca-5fff"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:cargo/crossbeam-channel@0.4.3"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://github.com/crossbeam-rs/crossbeam",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/crossbeam-rs/crossbeam"
        },
        {
            "reference_url": "https://github.com/crossbeam-rs/crossbeam/pull/458",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/crossbeam-rs/crossbeam/pull/458"
        },
        {
            "reference_url": "https://rustsec.org/advisories/RUSTSEC-2022-0019.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://rustsec.org/advisories/RUSTSEC-2022-0019.html"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-9g55-pg62-m8hh",
            "reference_id": "GHSA-9g55-pg62-m8hh",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-9g55-pg62-m8hh"
        }
    ],
    "weaknesses": [],
    "exploits": [],
    "severity_range_score": "7.0 - 8.9",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-br2s-a15r-6ffr"
}