Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/453081?format=api",
    "purl": "pkg:apk/alpine/gd@2.3.0-r1?arch=s390x&distroversion=v3.18&reponame=main",
    "type": "apk",
    "namespace": "alpine",
    "name": "gd",
    "version": "2.3.0-r1",
    "qualifiers": {
        "arch": "s390x",
        "distroversion": "v3.18",
        "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/7114?format=api",
            "vulnerability_id": "VCID-1q2y-e3kk-tkhf",
            "summary": "multiple issues",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-38115",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00191",
                            "scoring_system": "epss",
                            "scoring_elements": "0.40725",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.00191",
                            "scoring_system": "epss",
                            "scoring_elements": "0.40803",
                            "published_at": "2026-06-05T12:55:00Z"
                        },
                        {
                            "value": "0.00191",
                            "scoring_system": "epss",
                            "scoring_elements": "0.40808",
                            "published_at": "2026-06-06T12:55:00Z"
                        },
                        {
                            "value": "0.00191",
                            "scoring_system": "epss",
                            "scoring_elements": "0.40779",
                            "published_at": "2026-06-07T12:55:00Z"
                        },
                        {
                            "value": "0.00191",
                            "scoring_system": "epss",
                            "scoring_elements": "0.40748",
                            "published_at": "2026-06-08T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-38115"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-38115",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-38115"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=991912",
                    "reference_id": "991912",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=991912"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-2258",
                    "reference_id": "AVG-2258",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Medium",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-2258"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/5068-1/",
                    "reference_id": "USN-5068-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/5068-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/453081?format=api",
                    "purl": "pkg:apk/alpine/gd@2.3.0-r1?arch=s390x&distroversion=v3.18&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/gd@2.3.0-r1%3Farch=s390x&distroversion=v3.18&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2021-38115"
            ],
            "risk_score": 3.1,
            "exploitability": "0.5",
            "weighted_severity": "6.2",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-1q2y-e3kk-tkhf"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/7113?format=api",
            "vulnerability_id": "VCID-phqx-kavt-n3hh",
            "summary": "multiple issues",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-40145",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00588",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69522",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.00588",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69561",
                            "published_at": "2026-06-05T12:55:00Z"
                        },
                        {
                            "value": "0.00588",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69569",
                            "published_at": "2026-06-06T12:55:00Z"
                        },
                        {
                            "value": "0.00588",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69559",
                            "published_at": "2026-06-07T12:55:00Z"
                        },
                        {
                            "value": "0.00588",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69547",
                            "published_at": "2026-06-08T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-40145"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-40145",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-40145"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-2258",
                    "reference_id": "AVG-2258",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Medium",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-2258"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/5068-1/",
                    "reference_id": "USN-5068-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/5068-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/453081?format=api",
                    "purl": "pkg:apk/alpine/gd@2.3.0-r1?arch=s390x&distroversion=v3.18&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/gd@2.3.0-r1%3Farch=s390x&distroversion=v3.18&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2021-40145"
            ],
            "risk_score": 3.1,
            "exploitability": "0.5",
            "weighted_severity": "6.2",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-phqx-kavt-n3hh"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/gd@2.3.0-r1%3Farch=s390x&distroversion=v3.18&reponame=main"
}