Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/382519?format=api",
    "purl": "pkg:apk/alpine/imagemagick@7.0.10.57-r0?arch=x86&distroversion=v3.22&reponame=community",
    "type": "apk",
    "namespace": "alpine",
    "name": "imagemagick",
    "version": "7.0.10.57-r0",
    "qualifiers": {
        "arch": "x86",
        "distroversion": "v3.22",
        "reponame": "community"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "7.0.11.1-r0",
    "latest_non_vulnerable_version": "7.1.2.15-r0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/170208?format=api",
            "vulnerability_id": "VCID-5bjf-5pz8-y7bt",
            "summary": "",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-20224",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00033",
                            "scoring_system": "epss",
                            "scoring_elements": "0.10266",
                            "published_at": "2026-05-30T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-20224"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.2",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202405-02",
                    "reference_id": "GLSA-202405-02",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202405-02"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/5736-1/",
                    "reference_id": "USN-5736-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/5736-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/6200-1/",
                    "reference_id": "USN-6200-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/6200-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/USN-5736-2/",
                    "reference_id": "USN-USN-5736-2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/USN-5736-2/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/382519?format=api",
                    "purl": "pkg:apk/alpine/imagemagick@7.0.10.57-r0?arch=x86&distroversion=v3.22&reponame=community",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/imagemagick@7.0.10.57-r0%3Farch=x86&distroversion=v3.22&reponame=community"
                }
            ],
            "aliases": [
                "CVE-2021-20224"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-5bjf-5pz8-y7bt"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/imagemagick@7.0.10.57-r0%3Farch=x86&distroversion=v3.22&reponame=community"
}