Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/995072?format=api",
    "purl": "pkg:deb/debian/python-keystonemiddleware@9.1.0-2",
    "type": "deb",
    "namespace": "debian",
    "name": "python-keystonemiddleware",
    "version": "9.1.0-2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "10.1.0-4",
    "latest_non_vulnerable_version": "10.1.0-4",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/79287?format=api",
            "vulnerability_id": "VCID-ypen-r6m7-ryhd",
            "summary": "Openstack: Application credential token remains valid longer than expected",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-2447.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.6",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-2447.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-2447",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00629",
                            "scoring_system": "epss",
                            "scoring_elements": "0.7021",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00629",
                            "scoring_system": "epss",
                            "scoring_elements": "0.70226",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00629",
                            "scoring_system": "epss",
                            "scoring_elements": "0.70204",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00629",
                            "scoring_system": "epss",
                            "scoring_elements": "0.7025",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00629",
                            "scoring_system": "epss",
                            "scoring_elements": "0.70264",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00629",
                            "scoring_system": "epss",
                            "scoring_elements": "0.70288",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00629",
                            "scoring_system": "epss",
                            "scoring_elements": "0.70274",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.00629",
                            "scoring_system": "epss",
                            "scoring_elements": "0.70261",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00629",
                            "scoring_system": "epss",
                            "scoring_elements": "0.70302",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.00629",
                            "scoring_system": "epss",
                            "scoring_elements": "0.70312",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.00629",
                            "scoring_system": "epss",
                            "scoring_elements": "0.70293",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.00629",
                            "scoring_system": "epss",
                            "scoring_elements": "0.70346",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.00629",
                            "scoring_system": "epss",
                            "scoring_elements": "0.70354",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.00629",
                            "scoring_system": "epss",
                            "scoring_elements": "0.70352",
                            "published_at": "2026-04-29T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-2447"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2447",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2447"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "3.7",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1021272",
                    "reference_id": "1021272",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1021272"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2105419",
                    "reference_id": "2105419",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2105419"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/7926-1/",
                    "reference_id": "USN-7926-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/7926-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/995073?format=api",
                    "purl": "pkg:deb/debian/python-keystonemiddleware@10.1.0-4",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/python-keystonemiddleware@10.1.0-4"
                }
            ],
            "aliases": [
                "CVE-2022-2447"
            ],
            "risk_score": 3.0,
            "exploitability": "0.5",
            "weighted_severity": "5.9",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ypen-r6m7-ryhd"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "3.0",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/python-keystonemiddleware@9.1.0-2"
}