Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/107304?format=api",
    "purl": "pkg:rpm/redhat/ruby@2.0.0.648-38?arch=el7_6",
    "type": "rpm",
    "namespace": "redhat",
    "name": "ruby",
    "version": "2.0.0.648-38",
    "qualifiers": {
        "arch": "el7_6"
    },
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/74623?format=api",
            "vulnerability_id": "VCID-kamp-zmtx-aqbz",
            "summary": "security update",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-16396.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.9",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-16396.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-16396",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.03288",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87143",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.03288",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87211",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.03288",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87212",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.03288",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87217",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.03288",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87154",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.03288",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87171",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.03288",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87168",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.03288",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87188",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.03288",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87195",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.03288",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87208",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.03288",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87202",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.03288",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87198",
                            "published_at": "2026-04-13T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-16396"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16395",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16395"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16396",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16396"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4.8",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://www.ruby-lang.org/en/news/2018/10/17/not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.1",
                            "scoring_system": "cvssv3",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://www.ruby-lang.org/en/news/2018/10/17/not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396/"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1643089",
                    "reference_id": "1643089",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1643089"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2020:2769",
                    "reference_id": "RHSA-2020:2769",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2020:2769"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2020:2839",
                    "reference_id": "RHSA-2020:2839",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2020:2839"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3808-1/",
                    "reference_id": "USN-3808-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3808-1/"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2018-16396",
                "GHSA-xh4x-ph6p-vmxh"
            ],
            "risk_score": 2.9,
            "exploitability": "0.5",
            "weighted_severity": "5.7",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-kamp-zmtx-aqbz"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "2.9",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/ruby@2.0.0.648-38%3Farch=el7_6"
}