Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/465370?format=api",
    "purl": "pkg:apk/alpine/imagemagick@7.0.10.57-r0?arch=x86&distroversion=v3.18&reponame=community",
    "type": "apk",
    "namespace": "alpine",
    "name": "imagemagick",
    "version": "7.0.10.57-r0",
    "qualifiers": {
        "arch": "x86",
        "distroversion": "v3.18",
        "reponame": "community"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "7.0.11.1-r0",
    "latest_non_vulnerable_version": "7.1.1.13-r1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/73552?format=api",
            "vulnerability_id": "VCID-3j8v-hpd1-dufv",
            "summary": "An integer overflow issue was discovered in ImageMagick's ExportIndexQuantum() function in MagickCore/quantum-export.c. Function calls to GetPixelIndex() could result in values outside the range of representable for the 'unsigned char'. When ImageMagick processes a crafted pdf file, this could lead to an undefined behaviour or a crash.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-20224.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.5",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-20224.json"
                },
                {
                    "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.10207",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.00033",
                            "scoring_system": "epss",
                            "scoring_elements": "0.10252",
                            "published_at": "2026-06-05T12:55:00Z"
                        },
                        {
                            "value": "0.00033",
                            "scoring_system": "epss",
                            "scoring_elements": "0.10148",
                            "published_at": "2026-06-08T12:55:00Z"
                        },
                        {
                            "value": "0.00033",
                            "scoring_system": "epss",
                            "scoring_elements": "0.10272",
                            "published_at": "2026-06-06T12:55:00Z"
                        },
                        {
                            "value": "0.00033",
                            "scoring_system": "epss",
                            "scoring_elements": "0.10231",
                            "published_at": "2026-06-07T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-20224"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-20224",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=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://bugzilla.redhat.com/show_bug.cgi?id=2124173",
                    "reference_id": "2124173",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2124173"
                },
                {
                    "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/465370?format=api",
                    "purl": "pkg:apk/alpine/imagemagick@7.0.10.57-r0?arch=x86&distroversion=v3.18&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.18&reponame=community"
                }
            ],
            "aliases": [
                "CVE-2021-20224"
            ],
            "risk_score": 2.5,
            "exploitability": "0.5",
            "weighted_severity": "5.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-3j8v-hpd1-dufv"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/73551?format=api",
            "vulnerability_id": "VCID-99dh-9tum-b3ha",
            "summary": "A divide-by-zero flaw was found in ImageMagick 6.9.11-57 and 7.0.10-57 in gem.c. This flaw allows an attacker who submits a crafted file that is processed by ImageMagick to trigger undefined behavior through a division by zero. The highest threat from this vulnerability is to system availability.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-20176.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.5",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-20176.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-20176",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.0013",
                            "scoring_system": "epss",
                            "scoring_elements": "0.31976",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.0013",
                            "scoring_system": "epss",
                            "scoring_elements": "0.32049",
                            "published_at": "2026-06-05T12:55:00Z"
                        },
                        {
                            "value": "0.0013",
                            "scoring_system": "epss",
                            "scoring_elements": "0.31949",
                            "published_at": "2026-06-08T12:55:00Z"
                        },
                        {
                            "value": "0.0013",
                            "scoring_system": "epss",
                            "scoring_elements": "0.32018",
                            "published_at": "2026-06-06T12:55:00Z"
                        },
                        {
                            "value": "0.0013",
                            "scoring_system": "epss",
                            "scoring_elements": "0.3198",
                            "published_at": "2026-06-07T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-20176"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-20176",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-20176"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1916610",
                    "reference_id": "1916610",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1916610"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/4988-1/",
                    "reference_id": "USN-4988-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/4988-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/5335-1/",
                    "reference_id": "USN-5335-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/5335-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/7164-1/",
                    "reference_id": "USN-7164-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/7164-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/465370?format=api",
                    "purl": "pkg:apk/alpine/imagemagick@7.0.10.57-r0?arch=x86&distroversion=v3.18&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.18&reponame=community"
                }
            ],
            "aliases": [
                "CVE-2021-20176"
            ],
            "risk_score": 2.5,
            "exploitability": "0.5",
            "weighted_severity": "5.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-99dh-9tum-b3ha"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/imagemagick@7.0.10.57-r0%3Farch=x86&distroversion=v3.18&reponame=community"
}