Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/24147?format=api",
    "purl": "pkg:npm/keycloak-auth-utils@2.5.0",
    "type": "npm",
    "namespace": "",
    "name": "keycloak-auth-utils",
    "version": "2.5.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "3.0.0-cr.1",
    "latest_non_vulnerable_version": "3.1.0",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/7936?format=api",
            "vulnerability_id": "VCID-uafc-khnd-uyga",
            "summary": "Improper Validation of Certificate Expiration\nKeycloak does not handle invalid tokens correctly. An attacker could use this flaw to bypass authentication and gain access to restricted information, or to possibly conduct further attacks.",
            "references": [
                {
                    "reference_url": "http://rhn.redhat.com/errata/RHSA-2017-1203.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "http://rhn.redhat.com/errata/RHSA-2017-1203.html"
                },
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-7474.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.1",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-7474.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2017-7474",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01726",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82504",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.01726",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82463",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.01726",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82464",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.01726",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82469",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.01726",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82491",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.01726",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82501",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.01726",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82354",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.01726",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82369",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.01726",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82386",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.01726",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82382",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.01726",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8241",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.01726",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82418",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.01726",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82436",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.01726",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82433",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.01726",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82428",
                            "published_at": "2026-04-13T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2017-7474"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1445271",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1445271"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-7474",
                    "reference_id": "CVE-2017-7474",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-7474"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-mw35-24gh-f82w",
                    "reference_id": "GHSA-mw35-24gh-f82w",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "CRITICAL",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-mw35-24gh-f82w"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2017:1203",
                    "reference_id": "RHSA-2017:1203",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2017:1203"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/161882?format=api",
                    "purl": "pkg:npm/keycloak-auth-utils@3.0.0-cr.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/keycloak-auth-utils@3.0.0-cr.1"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/161883?format=api",
                    "purl": "pkg:npm/keycloak-auth-utils@3.1.0-cr.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/keycloak-auth-utils@3.1.0-cr.1"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/24150?format=api",
                    "purl": "pkg:npm/keycloak-auth-utils@3.1.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/keycloak-auth-utils@3.1.0"
                }
            ],
            "aliases": [
                "CVE-2017-7474",
                "GHSA-mw35-24gh-f82w"
            ],
            "risk_score": 4.5,
            "exploitability": "0.5",
            "weighted_severity": "9.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-uafc-khnd-uyga"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.5",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/keycloak-auth-utils@2.5.0"
}