Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/156292?format=api",
    "purl": "pkg:rpm/redhat/rh-ruby22-rubygem-eventmachine@1.0.7-6?arch=el7cf",
    "type": "rpm",
    "namespace": "redhat",
    "name": "rh-ruby22-rubygem-eventmachine",
    "version": "1.0.7-6",
    "qualifiers": {
        "arch": "el7cf"
    },
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/112595?format=api",
            "vulnerability_id": "VCID-b59h-pftc-9bcu",
            "summary": "cfme: Privilege escalation causing arbitrary code execution",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2016-4471.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2016-4471.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2016-4471",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01531",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81643",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.01531",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81673",
                            "published_at": "2026-06-05T12:55:00Z"
                        },
                        {
                            "value": "0.01531",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81675",
                            "published_at": "2026-06-07T12:55:00Z"
                        },
                        {
                            "value": "0.01531",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81668",
                            "published_at": "2026-06-08T12:55:00Z"
                        },
                        {
                            "value": "0.01531",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81684",
                            "published_at": "2026-06-09T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2016-4471"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1340763",
                    "reference_id": "1340763",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1340763"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2016-4471"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-b59h-pftc-9bcu"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/113248?format=api",
            "vulnerability_id": "VCID-bv2t-et11-nqgb",
            "summary": "CloudForms: insecure password storage in PostgreSQL database",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2015-7502.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2015-7502.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2015-7502",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00061",
                            "scoring_system": "epss",
                            "scoring_elements": "0.19116",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.00061",
                            "scoring_system": "epss",
                            "scoring_elements": "0.19188",
                            "published_at": "2026-06-05T12:55:00Z"
                        },
                        {
                            "value": "0.00061",
                            "scoring_system": "epss",
                            "scoring_elements": "0.19185",
                            "published_at": "2026-06-06T12:55:00Z"
                        },
                        {
                            "value": "0.00061",
                            "scoring_system": "epss",
                            "scoring_elements": "0.19144",
                            "published_at": "2026-06-07T12:55:00Z"
                        },
                        {
                            "value": "0.00061",
                            "scoring_system": "epss",
                            "scoring_elements": "0.19072",
                            "published_at": "2026-06-08T12:55:00Z"
                        },
                        {
                            "value": "0.00061",
                            "scoring_system": "epss",
                            "scoring_elements": "0.19092",
                            "published_at": "2026-06-09T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2015-7502"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1283019",
                    "reference_id": "1283019",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1283019"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2015:2551",
                    "reference_id": "RHSA-2015:2551",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2015:2551"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2015:2620",
                    "reference_id": "RHSA-2015:2620",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2015:2620"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2015-7502"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-bv2t-et11-nqgb"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/rh-ruby22-rubygem-eventmachine@1.0.7-6%3Farch=el7cf"
}