Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/370331?format=api",
    "purl": "pkg:rpm/redhat/kernel@2.6.9-67.0.1?arch=EL",
    "type": "rpm",
    "namespace": "redhat",
    "name": "kernel",
    "version": "2.6.9-67.0.1",
    "qualifiers": {
        "arch": "EL"
    },
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/244352?format=api",
            "vulnerability_id": "VCID-2kag-u74f-u3fm",
            "summary": "",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2007-5494.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2007-5494.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2007-5494",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.0009",
                            "scoring_system": "epss",
                            "scoring_elements": "0.25606",
                            "published_at": "2026-06-11T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2007-5494"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=315051",
                    "reference_id": "315051",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=315051"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2007:0993",
                    "reference_id": "RHSA-2007:0993",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2007:0993"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2007:1104",
                    "reference_id": "RHSA-2007:1104",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2007:1104"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2007-5494"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-2kag-u74f-u3fm"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/243955?format=api",
            "vulnerability_id": "VCID-94h7-yk82-wyfs",
            "summary": "",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2007-4997.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2007-4997.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2007-4997",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.05391",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90331",
                            "published_at": "2026-06-11T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2007-4997"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=346341",
                    "reference_id": "346341",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=346341"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2007:0993",
                    "reference_id": "RHSA-2007:0993",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2007:0993"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2007:1104",
                    "reference_id": "RHSA-2007:1104",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2007:1104"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/558-1/",
                    "reference_id": "USN-558-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/558-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/574-1/",
                    "reference_id": "USN-574-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/574-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/578-1/",
                    "reference_id": "USN-578-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/578-1/"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2007-4997"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-94h7-yk82-wyfs"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/kernel@2.6.9-67.0.1%3Farch=EL"
}