Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/107144?format=api",
    "purl": "pkg:rpm/redhat/perl@4:5.16.3-292.el7_5?arch=1",
    "type": "rpm",
    "namespace": "redhat",
    "name": "perl",
    "version": "4:5.16.3-292.el7_5",
    "qualifiers": {
        "arch": "1"
    },
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/59315?format=api",
            "vulnerability_id": "VCID-efz8-y2qe-dkgj",
            "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-18311.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-18311.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-18311",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.11355",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93514",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.11355",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93523",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.11355",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93531",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.11355",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9353",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.11355",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93539",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.11355",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93542",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.11355",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93548",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.11355",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93547",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.11355",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93567",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.11355",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93573",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.11355",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93579",
                            "published_at": "2026-04-21T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-18311"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-18311",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-18311"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-18312",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-18312"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-18313",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-18313"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-18314",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-18314"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.4",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:L/AC:H/PR:N/UI:N/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=1646730",
                    "reference_id": "1646730",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1646730"
                },
                {
                    "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-2019:0001",
                    "reference_id": "RHSA-2019:0001",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2019:0001"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2019:0010",
                    "reference_id": "RHSA-2019:0010",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2019:0010"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2019:0109",
                    "reference_id": "RHSA-2019:0109",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2019:0109"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2019:1790",
                    "reference_id": "RHSA-2019:1790",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2019:1790"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2019:1942",
                    "reference_id": "RHSA-2019:1942",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2019:1942"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2019:2400",
                    "reference_id": "RHSA-2019:2400",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2019:2400"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2026:7604",
                    "reference_id": "RHSA-2026:7604",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2026:7604"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3834-1/",
                    "reference_id": "USN-3834-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3834-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3834-2/",
                    "reference_id": "USN-3834-2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3834-2/"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2018-18311"
            ],
            "risk_score": 3.6,
            "exploitability": "0.5",
            "weighted_severity": "7.3",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-efz8-y2qe-dkgj"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "3.6",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/perl@4:5.16.3-292.el7_5%3Farch=1"
}