Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/286177?format=api",
    "purl": "pkg:apk/alpine/freetype@2.7.1-r1?arch=armv7&distroversion=v3.9&reponame=main",
    "type": "apk",
    "namespace": "alpine",
    "name": "freetype",
    "version": "2.7.1-r1",
    "qualifiers": {
        "arch": "armv7",
        "distroversion": "v3.9",
        "reponame": "main"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/4804?format=api",
            "vulnerability_id": "VCID-7rgx-hj35-9qbb",
            "summary": "arbitrary code execution",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2017-8287",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00755",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73557",
                            "published_at": "2026-05-30T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2017-8287"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "2.6",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:N/AC:H/Au:N/C:N/I:N/A:P"
                        },
                        {
                            "value": "7",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:H/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://bugs.debian.org/cgi-bin/bugreport.cgi?bug=861308",
                    "reference_id": "861308",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=861308"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-201705-10",
                    "reference_id": "ASA-201705-10",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-201705-10"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-201705-7",
                    "reference_id": "ASA-201705-7",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-201705-7"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-257",
                    "reference_id": "AVG-257",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-257"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-258",
                    "reference_id": "AVG-258",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-258"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201706-14",
                    "reference_id": "GLSA-201706-14",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201706-14"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3282-1/",
                    "reference_id": "USN-3282-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3282-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3282-2/",
                    "reference_id": "USN-3282-2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3282-2/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/286177?format=api",
                    "purl": "pkg:apk/alpine/freetype@2.7.1-r1?arch=armv7&distroversion=v3.9&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/freetype@2.7.1-r1%3Farch=armv7&distroversion=v3.9&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2017-8287"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-7rgx-hj35-9qbb"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/freetype@2.7.1-r1%3Farch=armv7&distroversion=v3.9&reponame=main"
}