Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/365801?format=api",
    "purl": "pkg:apk/alpine/gd@2.2.5-r0?arch=ppc64le&distroversion=v3.6&reponame=main",
    "type": "apk",
    "namespace": "alpine",
    "name": "gd",
    "version": "2.2.5-r0",
    "qualifiers": {
        "arch": "ppc64le",
        "distroversion": "v3.6",
        "reponame": "main"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.2.5-r1",
    "latest_non_vulnerable_version": "2.2.5-r2",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/76159?format=api",
            "vulnerability_id": "VCID-mmz8-qzzx-gkgv",
            "summary": "Double free vulnerability in the gdImagePngPtr function in libgd2 before 2.2.5 allows remote attackers to cause a denial of service via vectors related to a palette with no colors.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-6362.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.3",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-6362.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2017-6362",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01378",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80594",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.01378",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80614",
                            "published_at": "2026-06-08T12:55:00Z"
                        },
                        {
                            "value": "0.01378",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80621",
                            "published_at": "2026-06-06T12:55:00Z"
                        },
                        {
                            "value": "0.01378",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80618",
                            "published_at": "2026-06-07T12:55:00Z"
                        },
                        {
                            "value": "0.01378",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80619",
                            "published_at": "2026-06-05T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2017-6362"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-6362",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-6362"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4.6",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:L/AC:L/Au:N/C:P/I:P/A:P"
                        },
                        {
                            "value": "7.8",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:L/AC:L/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://bugzilla.redhat.com/show_bug.cgi?id=1489842",
                    "reference_id": "1489842",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1489842"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3410-1/",
                    "reference_id": "USN-3410-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3410-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3410-2/",
                    "reference_id": "USN-3410-2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3410-2/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/365801?format=api",
                    "purl": "pkg:apk/alpine/gd@2.2.5-r0?arch=ppc64le&distroversion=v3.6&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/gd@2.2.5-r0%3Farch=ppc64le&distroversion=v3.6&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2017-6362"
            ],
            "risk_score": 2.4,
            "exploitability": "0.5",
            "weighted_severity": "4.8",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-mmz8-qzzx-gkgv"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/76164?format=api",
            "vulnerability_id": "VCID-u49t-hum7-9ffk",
            "summary": "The GIF decoding function gdImageCreateFromGifCtx in gd_gif_in.c in the GD Graphics Library (aka libgd), as used in PHP before 5.6.31 and 7.x before 7.1.7, does not zero colorMap arrays before use. A specially crafted GIF image could use the uninitialized tables to read ~700 bytes from the top of the stack, potentially disclosing sensitive information.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-7890.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.5",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-7890.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2017-7890",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.30217",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9677",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.30217",
                            "scoring_system": "epss",
                            "scoring_elements": "0.96777",
                            "published_at": "2026-06-08T12:55:00Z"
                        },
                        {
                            "value": "0.30217",
                            "scoring_system": "epss",
                            "scoring_elements": "0.96778",
                            "published_at": "2026-06-06T12:55:00Z"
                        },
                        {
                            "value": "0.30217",
                            "scoring_system": "epss",
                            "scoring_elements": "0.96779",
                            "published_at": "2026-06-07T12:55:00Z"
                        },
                        {
                            "value": "0.30217",
                            "scoring_system": "epss",
                            "scoring_elements": "0.96774",
                            "published_at": "2026-06-05T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2017-7890"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-7890",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-7890"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4.3",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:N/AC:M/Au:N/C:P/I:N/A:N"
                        },
                        {
                            "value": "5.3",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1473822",
                    "reference_id": "1473822",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1473822"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=869263",
                    "reference_id": "869263",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=869263"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2018:0406",
                    "reference_id": "RHSA-2018:0406",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2018:0406"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2018:1296",
                    "reference_id": "RHSA-2018:1296",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2018:1296"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3389-1/",
                    "reference_id": "USN-3389-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3389-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3389-2/",
                    "reference_id": "USN-3389-2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3389-2/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/365801?format=api",
                    "purl": "pkg:apk/alpine/gd@2.2.5-r0?arch=ppc64le&distroversion=v3.6&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/gd@2.2.5-r0%3Farch=ppc64le&distroversion=v3.6&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2017-7890"
            ],
            "risk_score": 2.5,
            "exploitability": "0.5",
            "weighted_severity": "5.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-u49t-hum7-9ffk"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/gd@2.2.5-r0%3Farch=ppc64le&distroversion=v3.6&reponame=main"
}