Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/67017?format=api",
    "purl": "pkg:npm/keycloak-connect@20.0.2",
    "type": "npm",
    "namespace": "",
    "name": "keycloak-connect",
    "version": "20.0.2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "21.0.1",
    "latest_non_vulnerable_version": "23.0.0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/46052?format=api",
            "vulnerability_id": "VCID-azxv-y5rj-vkg9",
            "summary": "Insufficient Session Expiration\nA flaw was found in the offline_access scope in Keycloak. This issue would affect users of shared computers more (especially if cookies are not cleared), due to a lack of root session validation, and the reuse of session ids across root and user authentication sessions. This enables an attacker to resolve a user session attached to a previously authenticated user; when utilizing the refresh token, they will be issued a token for the original user.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2022:8961",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2022:8961"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2022:8962",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2022:8962"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2022:8963",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2022:8963"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2022:8964",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2022:8964"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2022:8965",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2022:8965"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2023:1043",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2023:1043"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2023:1044",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2023:1044"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2023:1045",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2023:1045"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2023:1047",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2023:1047"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2023:1049",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2023:1049"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2141404",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2141404"
                },
                {
                    "reference_url": "https://access.redhat.com/security/cve/CVE-2022-3916",
                    "reference_id": "CVE-2022-3916",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/security/cve/CVE-2022-3916"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-3916",
                    "reference_id": "CVE-2022-3916",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-3916"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-97g8-xfvw-q4hg",
                    "reference_id": "GHSA-97g8-xfvw-q4hg",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-97g8-xfvw-q4hg"
                },
                {
                    "reference_url": "https://github.com/keycloak/keycloak/security/advisories/GHSA-97g8-xfvw-q4hg",
                    "reference_id": "GHSA-97g8-xfvw-q4hg",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/keycloak/keycloak/security/advisories/GHSA-97g8-xfvw-q4hg"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/67017?format=api",
                    "purl": "pkg:npm/keycloak-connect@20.0.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/keycloak-connect@20.0.2"
                }
            ],
            "aliases": [
                "CVE-2022-3916",
                "GHSA-97g8-xfvw-q4hg",
                "GMS-2022-8406"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-azxv-y5rj-vkg9"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/keycloak-connect@20.0.2"
}