Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/69532?format=api",
    "purl": "pkg:nuget/PanelSwWix4.Sdk@5.0.0-psw-wix.0265-49",
    "type": "nuget",
    "namespace": "",
    "name": "PanelSwWix4.Sdk",
    "version": "5.0.0-psw-wix.0265-49",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "5.0.0-psw-wix.0251-40",
    "latest_non_vulnerable_version": "5.0.0-psw-wix.0265-49",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/47324?format=api",
            "vulnerability_id": "VCID-cqv1-nyh9-buh6",
            "summary": "WiX Burn-based bundles are vulnerable to binary hijack when run as SYSTEM\nBurn uses an unprotected C:\\Windows\\Temp directory to copy binaries and run them from there. This directory is not entirely protected against low privilege users.",
            "references": [
                {
                    "reference_url": "https://github.com/nirbar/wix4",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/nirbar/wix4"
                },
                {
                    "reference_url": "https://github.com/nirbar/wix4/commit/0410df93a5f29e4235b4b78b90a1384ffafd062b",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/nirbar/wix4/commit/0410df93a5f29e4235b4b78b90a1384ffafd062b"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-g4v6-69p6-q3p4",
                    "reference_id": "GHSA-g4v6-69p6-q3p4",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-g4v6-69p6-q3p4"
                },
                {
                    "reference_url": "https://github.com/nirbar/wix4/security/advisories/GHSA-g4v6-69p6-q3p4",
                    "reference_id": "GHSA-g4v6-69p6-q3p4",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/nirbar/wix4/security/advisories/GHSA-g4v6-69p6-q3p4"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/69532?format=api",
                    "purl": "pkg:nuget/PanelSwWix4.Sdk@5.0.0-psw-wix.0265-49",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/PanelSwWix4.Sdk@5.0.0-psw-wix.0265-49"
                }
            ],
            "aliases": [
                "GHSA-g4v6-69p6-q3p4"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-cqv1-nyh9-buh6"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/PanelSwWix4.Sdk@5.0.0-psw-wix.0265-49"
}