Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/178830?format=api",
    "purl": "pkg:apk/alpine/perl@5.26.2-r0?arch=armv7&distroversion=v3.20&reponame=main",
    "type": "apk",
    "namespace": "alpine",
    "name": "perl",
    "version": "5.26.2-r0",
    "qualifiers": {
        "arch": "armv7",
        "distroversion": "v3.20",
        "reponame": "main"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "5.26.2-r1",
    "latest_non_vulnerable_version": "5.38.3-r1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/184471?format=api",
            "vulnerability_id": "VCID-cke6-74fw-wba6",
            "summary": "Multiple vulnerabilities have been found in Perl, the worst of\n    which could result in the arbitrary execution of code.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-6798.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-6798.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-6798",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01603",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82132",
                            "published_at": "2026-06-11T12:55:00Z"
                        },
                        {
                            "value": "0.01603",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82193",
                            "published_at": "2026-06-12T12:55:00Z"
                        },
                        {
                            "value": "0.01603",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82202",
                            "published_at": "2026-06-13T12:55:00Z"
                        },
                        {
                            "value": "0.01603",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82196",
                            "published_at": "2026-06-14T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-6798"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-6798",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-6798"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1547779",
                    "reference_id": "1547779",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1547779"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201909-01",
                    "reference_id": "GLSA-201909-01",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201909-01"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2018:1192",
                    "reference_id": "RHSA-2018:1192",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2018:1192"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3625-1/",
                    "reference_id": "USN-3625-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3625-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/178830?format=api",
                    "purl": "pkg:apk/alpine/perl@5.26.2-r0?arch=armv7&distroversion=v3.20&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/perl@5.26.2-r0%3Farch=armv7&distroversion=v3.20&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2018-6798"
            ],
            "risk_score": 3.4,
            "exploitability": "0.5",
            "weighted_severity": "6.8",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-cke6-74fw-wba6"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/5697?format=api",
            "vulnerability_id": "VCID-x1f7-2ngj-efc4",
            "summary": "",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-6913.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4.0",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-6913.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-6913",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.03896",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88542",
                            "published_at": "2026-06-11T12:55:00Z"
                        },
                        {
                            "value": "0.03896",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88581",
                            "published_at": "2026-06-12T12:55:00Z"
                        },
                        {
                            "value": "0.03896",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88588",
                            "published_at": "2026-06-13T12:55:00Z"
                        },
                        {
                            "value": "0.03896",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88586",
                            "published_at": "2026-06-14T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-6913"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-6913",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-6913"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/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=1547772",
                    "reference_id": "1547772",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1547772"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201909-01",
                    "reference_id": "GLSA-201909-01",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201909-01"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2026:6206",
                    "reference_id": "RHSA-2026:6206",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2026:6206"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3625-1/",
                    "reference_id": "USN-3625-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3625-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3625-2/",
                    "reference_id": "USN-3625-2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3625-2/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/178830?format=api",
                    "purl": "pkg:apk/alpine/perl@5.26.2-r0?arch=armv7&distroversion=v3.20&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/perl@5.26.2-r0%3Farch=armv7&distroversion=v3.20&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2018-6913"
            ],
            "risk_score": 1.9,
            "exploitability": "0.5",
            "weighted_severity": "3.8",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-x1f7-2ngj-efc4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/5691?format=api",
            "vulnerability_id": "VCID-yqym-5c97-rucf",
            "summary": "",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-6797.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.1",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-6797.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-6797",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01475",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8137",
                            "published_at": "2026-06-11T12:55:00Z"
                        },
                        {
                            "value": "0.01475",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81431",
                            "published_at": "2026-06-12T12:55:00Z"
                        },
                        {
                            "value": "0.01475",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81439",
                            "published_at": "2026-06-13T12:55:00Z"
                        },
                        {
                            "value": "0.01475",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8143",
                            "published_at": "2026-06-14T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-6797"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-6797",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-6797"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:L/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=1547783",
                    "reference_id": "1547783",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1547783"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201909-01",
                    "reference_id": "GLSA-201909-01",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201909-01"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2018:1192",
                    "reference_id": "RHSA-2018:1192",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2018:1192"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3625-1/",
                    "reference_id": "USN-3625-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3625-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/178830?format=api",
                    "purl": "pkg:apk/alpine/perl@5.26.2-r0?arch=armv7&distroversion=v3.20&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/perl@5.26.2-r0%3Farch=armv7&distroversion=v3.20&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2018-6797"
            ],
            "risk_score": 3.6,
            "exploitability": "0.5",
            "weighted_severity": "7.3",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-yqym-5c97-rucf"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/perl@5.26.2-r0%3Farch=armv7&distroversion=v3.20&reponame=main"
}