Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/391352?format=api",
    "purl": "pkg:apk/alpine/git@2.18.1-r0?arch=aarch64&distroversion=v3.8&reponame=main",
    "type": "apk",
    "namespace": "alpine",
    "name": "git",
    "version": "2.18.1-r0",
    "qualifiers": {
        "arch": "aarch64",
        "distroversion": "v3.8",
        "reponame": "main"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.18.1-r1",
    "latest_non_vulnerable_version": "2.18.4-r0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/74712?format=api",
            "vulnerability_id": "VCID-7s2v-tjh1-pfb9",
            "summary": "security update",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-17456.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-17456.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-17456",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.66226",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98512",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.66226",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9853",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.66226",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98523",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.66226",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98529",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.66226",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98514",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.66226",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98516",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.66226",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9852",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.66226",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98521",
                            "published_at": "2026-04-09T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-17456"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-17456",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-17456"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1636619",
                    "reference_id": "1636619",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1636619"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-201810-7",
                    "reference_id": "ASA-201810-7",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-201810-7"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-776",
                    "reference_id": "AVG-776",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-776"
                },
                {
                    "reference_url": "https://gist.github.com/joernchen/38dd6400199a542bc9660ea563dcf2b6",
                    "reference_id": "CVE-2018-17456",
                    "reference_type": "exploit",
                    "scores": [],
                    "url": "https://gist.github.com/joernchen/38dd6400199a542bc9660ea563dcf2b6"
                },
                {
                    "reference_url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/local/45548.txt",
                    "reference_id": "CVE-2018-17456",
                    "reference_type": "exploit",
                    "scores": [],
                    "url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/local/45548.txt"
                },
                {
                    "reference_url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/local/45631.md",
                    "reference_id": "CVE-2018-17456",
                    "reference_type": "exploit",
                    "scores": [],
                    "url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/local/45631.md"
                },
                {
                    "reference_url": "https://marc.info/?l=git&m=153875888916397&w=2",
                    "reference_id": "CVE-2018-17456",
                    "reference_type": "exploit",
                    "scores": [],
                    "url": "https://marc.info/?l=git&m=153875888916397&w=2"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2018:3408",
                    "reference_id": "RHSA-2018:3408",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2018:3408"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2018:3541",
                    "reference_id": "RHSA-2018:3541",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2018:3541"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2020:0316",
                    "reference_id": "RHSA-2020:0316",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2020:0316"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3791-1/",
                    "reference_id": "USN-3791-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3791-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/391352?format=api",
                    "purl": "pkg:apk/alpine/git@2.18.1-r0?arch=aarch64&distroversion=v3.8&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/git@2.18.1-r0%3Farch=aarch64&distroversion=v3.8&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2018-17456"
            ],
            "risk_score": 10.0,
            "exploitability": "2.0",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-7s2v-tjh1-pfb9"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/git@2.18.1-r0%3Farch=aarch64&distroversion=v3.8&reponame=main"
}