Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/356114?format=api",
    "purl": "pkg:rpm/redhat/foreman@1.11.0.51-1?arch=el7sat",
    "type": "rpm",
    "namespace": "redhat",
    "name": "foreman",
    "version": "1.11.0.51-1",
    "qualifiers": {
        "arch": "el7sat"
    },
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/285542?format=api",
            "vulnerability_id": "VCID-xzbw-nd5f-bkcj",
            "summary": "",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2016-4475.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2016-4475.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2016-4475",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00175",
                            "scoring_system": "epss",
                            "scoring_elements": "0.38816",
                            "published_at": "2026-06-11T12:55:00Z"
                        },
                        {
                            "value": "0.00175",
                            "scoring_system": "epss",
                            "scoring_elements": "0.38988",
                            "published_at": "2026-06-12T12:55:00Z"
                        },
                        {
                            "value": "0.00175",
                            "scoring_system": "epss",
                            "scoring_elements": "0.39011",
                            "published_at": "2026-06-13T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2016-4475"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1342439",
                    "reference_id": "1342439",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1342439"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2016-4475"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-xzbw-nd5f-bkcj"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/foreman@1.11.0.51-1%3Farch=el7sat"
}