Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/1042310?format=api",
    "purl": "pkg:apk/alpine/dotnet6-build@6.0.114-r0?arch=aarch64&distroversion=v3.19&reponame=community",
    "type": "apk",
    "namespace": "alpine",
    "name": "dotnet6-build",
    "version": "6.0.114-r0",
    "qualifiers": {
        "arch": "aarch64",
        "distroversion": "v3.19",
        "reponame": "community"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "6.0.116-r0",
    "latest_non_vulnerable_version": "6.0.131-r0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/16457?format=api",
            "vulnerability_id": "VCID-j3sk-xvxc-9bea",
            "summary": "Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')\n.NET and Visual Studio Remote Code Execution Vulnerability",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2023-21808.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.8",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2023-21808.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2023-21808",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01277",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79583",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.01277",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79513",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.01277",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79536",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.01277",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79522",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.01277",
                            "scoring_system": "epss",
                            "scoring_elements": "0.7955",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.01277",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79558",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.01277",
                            "scoring_system": "epss",
                            "scoring_elements": "0.7958",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.01277",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79563",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.01277",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79555",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.01277",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79585",
                            "published_at": "2026-04-16T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2023-21808"
                },
                {
                    "reference_url": "https://github.com/dotnet/runtime",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/dotnet/runtime"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2183195",
                    "reference_id": "2183195",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2183195"
                },
                {
                    "reference_url": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-21808",
                    "reference_id": "CVE-2023-21808",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C"
                        },
                        {
                            "value": "7.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-02-28T20:23:13Z/"
                        }
                    ],
                    "url": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-21808"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-21808",
                    "reference_id": "CVE-2023-21808",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-21808"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-824j-wqm8-89mj",
                    "reference_id": "GHSA-824j-wqm8-89mj",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-824j-wqm8-89mj"
                },
                {
                    "reference_url": "https://github.com/dotnet/runtime/security/advisories/GHSA-824j-wqm8-89mj",
                    "reference_id": "GHSA-824j-wqm8-89mj",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/dotnet/runtime/security/advisories/GHSA-824j-wqm8-89mj"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/1042310?format=api",
                    "purl": "pkg:apk/alpine/dotnet6-build@6.0.114-r0?arch=aarch64&distroversion=v3.19&reponame=community",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/dotnet6-build@6.0.114-r0%3Farch=aarch64&distroversion=v3.19&reponame=community"
                }
            ],
            "aliases": [
                "CVE-2023-21808",
                "GHSA-824j-wqm8-89mj"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-j3sk-xvxc-9bea"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/dotnet6-build@6.0.114-r0%3Farch=aarch64&distroversion=v3.19&reponame=community"
}