Lookup for vulnerabilities affecting packages.

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

{
    "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.",
    "aliases": [
        {
            "alias": "CVE-2022-3916"
        },
        {
            "alias": "GHSA-97g8-xfvw-q4hg"
        },
        {
            "alias": "GMS-2022-8406"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/67049?format=api",
            "purl": "pkg:maven/org.keycloak/keycloak-core@20.0.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.keycloak/keycloak-core@20.0.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/67036?format=api",
            "purl": "pkg:maven/org.keycloak/keycloak-model-infinispan@20.0.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.keycloak/keycloak-model-infinispan@20.0.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/67030?format=api",
            "purl": "pkg:maven/org.keycloak/keycloak-model-jpa@20.0.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.keycloak/keycloak-model-jpa@20.0.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/67067?format=api",
            "purl": "pkg:maven/org.keycloak/keycloak-parent@20.0.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.keycloak/keycloak-parent@20.0.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/67048?format=api",
            "purl": "pkg:maven/org.keycloak/keycloak-saml-core-public@20.0.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.keycloak/keycloak-saml-core-public@20.0.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/67026?format=api",
            "purl": "pkg:maven/org.keycloak/keycloak-server-spi-private@20.0.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.keycloak/keycloak-server-spi-private@20.0.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/67069?format=api",
            "purl": "pkg:maven/org.keycloak/keycloak-services@20.0.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.keycloak/keycloak-services@20.0.2"
        },
        {
            "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"
        }
    ],
    "affected_packages": [],
    "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"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        },
        {
            "cwe_id": 613,
            "name": "Insufficient Session Expiration",
            "description": "According to WASC, Insufficient Session Expiration is when a web site permits an attacker to reuse old session credentials or session IDs for authorization."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        }
    ],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-azxv-y5rj-vkg9"
}