Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/108871?format=api",
    "purl": "pkg:rpm/redhat/openshift-ansible@3.8.37-1.git.0.be319af?arch=el7",
    "type": "rpm",
    "namespace": "redhat",
    "name": "openshift-ansible",
    "version": "3.8.37-1.git.0.be319af",
    "qualifiers": {
        "arch": "el7"
    },
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/83502?format=api",
            "vulnerability_id": "VCID-4pf5-6u2a-37gu",
            "summary": "source-to-image: Improper path sanitization in ExtractTarStreamFromTarReader in tar/tar.go",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-1102.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.9",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-1102.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-1102",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01553",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8136",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.01553",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81536",
                            "published_at": "2026-05-07T12:55:00Z"
                        },
                        {
                            "value": "0.01553",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81498",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.01553",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81517",
                            "published_at": "2026-05-05T12:55:00Z"
                        },
                        {
                            "value": "0.01553",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81369",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.01553",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81392",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.01553",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8139",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.01553",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81418",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.01553",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81424",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.01553",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81445",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.01553",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81433",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.01553",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81426",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.01553",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81463",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.01553",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81465",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.01553",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81486",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.01553",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81493",
                            "published_at": "2026-04-26T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-1102"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1562246",
                    "reference_id": "1562246",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1562246"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:redhat:openshift:3.0:*:*:*:enterprise:*:*:*",
                    "reference_id": "cpe:2.3:a:redhat:openshift:3.0:*:*:*:enterprise:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:redhat:openshift:3.0:*:*:*:enterprise:*:*:*"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:redhat:openshift:3.1:*:*:*:enterprise:*:*:*",
                    "reference_id": "cpe:2.3:a:redhat:openshift:3.1:*:*:*:enterprise:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:redhat:openshift:3.1:*:*:*:enterprise:*:*:*"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:redhat:openshift:3.2:*:*:*:enterprise:*:*:*",
                    "reference_id": "cpe:2.3:a:redhat:openshift:3.2:*:*:*:enterprise:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:redhat:openshift:3.2:*:*:*:enterprise:*:*:*"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:redhat:openshift:3.3:*:*:*:enterprise:*:*:*",
                    "reference_id": "cpe:2.3:a:redhat:openshift:3.3:*:*:*:enterprise:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:redhat:openshift:3.3:*:*:*:enterprise:*:*:*"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:redhat:openshift:3.4:*:*:*:enterprise:*:*:*",
                    "reference_id": "cpe:2.3:a:redhat:openshift:3.4:*:*:*:enterprise:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:redhat:openshift:3.4:*:*:*:enterprise:*:*:*"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:redhat:openshift:3.5:*:*:*:enterprise:*:*:*",
                    "reference_id": "cpe:2.3:a:redhat:openshift:3.5:*:*:*:enterprise:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:redhat:openshift:3.5:*:*:*:enterprise:*:*:*"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:redhat:openshift:3.6:*:*:*:enterprise:*:*:*",
                    "reference_id": "cpe:2.3:a:redhat:openshift:3.6:*:*:*:enterprise:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:redhat:openshift:3.6:*:*:*:enterprise:*:*:*"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:redhat:openshift:3.7:*:*:*:enterprise:*:*:*",
                    "reference_id": "cpe:2.3:a:redhat:openshift:3.7:*:*:*:enterprise:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:redhat:openshift:3.7:*:*:*:enterprise:*:*:*"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:redhat:openshift:3.8:*:*:*:enterprise:*:*:*",
                    "reference_id": "cpe:2.3:a:redhat:openshift:3.8:*:*:*:enterprise:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:redhat:openshift:3.8:*:*:*:enterprise:*:*:*"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:redhat:openshift:3.9:*:*:*:enterprise:*:*:*",
                    "reference_id": "cpe:2.3:a:redhat:openshift:3.9:*:*:*:enterprise:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:redhat:openshift:3.9:*:*:*:enterprise:*:*:*"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1102",
                    "reference_id": "CVE-2018-1102",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.5",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:N/AC:L/Au:S/C:P/I:P/A:P"
                        },
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1102"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2018:1227",
                    "reference_id": "RHSA-2018:1227",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2018:1227"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2018:1229",
                    "reference_id": "RHSA-2018:1229",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2018:1229"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2018:1231",
                    "reference_id": "RHSA-2018:1231",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2018:1231"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2018:1233",
                    "reference_id": "RHSA-2018:1233",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2018:1233"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2018:1235",
                    "reference_id": "RHSA-2018:1235",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2018:1235"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2018:1237",
                    "reference_id": "RHSA-2018:1237",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2018:1237"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2018:1239",
                    "reference_id": "RHSA-2018:1239",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2018:1239"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2018:1241",
                    "reference_id": "RHSA-2018:1241",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2018:1241"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2018:1243",
                    "reference_id": "RHSA-2018:1243",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2018:1243"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2019:0036",
                    "reference_id": "RHSA-2019:0036",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2019:0036"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2018-1102"
            ],
            "risk_score": 4.5,
            "exploitability": "0.5",
            "weighted_severity": "8.9",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-4pf5-6u2a-37gu"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.5",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/openshift-ansible@3.8.37-1.git.0.be319af%3Farch=el7"
}