Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/1047463?format=api",
    "purl": "pkg:apk/alpine/git@2.6.7-r0?arch=x86_64&distroversion=v3.3&reponame=main",
    "type": "apk",
    "namespace": "alpine",
    "name": "git",
    "version": "2.6.7-r0",
    "qualifiers": {
        "arch": "x86_64",
        "distroversion": "v3.3",
        "reponame": "main"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.8.6-r0",
    "latest_non_vulnerable_version": "2.8.6-r0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/44894?format=api",
            "vulnerability_id": "VCID-h5v9-82w6-bkcq",
            "summary": "A vulnerability in Git might allow remote attackers to bypass\n    security restrictions.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-8386.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.0",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-8386.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2017-8386",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.7273",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98763",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.7273",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98779",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.7273",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98776",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.7273",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98777",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.7273",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98764",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.7273",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98767",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.7273",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98769",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.7273",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9877",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.7273",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98772",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.7273",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98773",
                            "published_at": "2026-04-13T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2017-8386"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-8386",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-8386"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.5",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:N/AC:L/Au:S/C:P/I:P/A:P"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1450407",
                    "reference_id": "1450407",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1450407"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-201705-14",
                    "reference_id": "ASA-201705-14",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-201705-14"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-267",
                    "reference_id": "AVG-267",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-267"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201706-04",
                    "reference_id": "GLSA-201706-04",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201706-04"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2017:2004",
                    "reference_id": "RHSA-2017:2004",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2017:2004"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2017:2491",
                    "reference_id": "RHSA-2017:2491",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2017:2491"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3287-1/",
                    "reference_id": "USN-3287-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3287-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/1047463?format=api",
                    "purl": "pkg:apk/alpine/git@2.6.7-r0?arch=x86_64&distroversion=v3.3&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/git@2.6.7-r0%3Farch=x86_64&distroversion=v3.3&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2017-8386"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-h5v9-82w6-bkcq"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/git@2.6.7-r0%3Farch=x86_64&distroversion=v3.3&reponame=main"
}