Skip to content

← Public intelligence

Maven package

org.pac4j:pac4j-oidc

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

1 actionable advisory, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. High, CVSS 7.5MavenPublished

    Pac4j token validation bypass if OpenID Connect provider supports none algorithm

    CVE-2021-44878 · GHSA-xhw6-hjc9-679m

    Affected
    • Maven org.pac4j:pac4j-oidc < 4.5.5; >= 5.0, < 5.3.1
    Fixed in
    5.3.14.5.5· Vendor fix available
    Issue
    If an OpenID Connect provider supports the “none” algorithm (i.e., tokens with no signature), pac4j v5.3.0 (and prior) does not refuse it without an explicit configuration on its side or for the “idtoken” response type which is not secure and violates the OpenID Core Specification. The "none" algorithm does not require any signature verification when validating the ID tokens, which allows the attacker to bypass the token validation by injecting a malformed ID token using "none" as the value of "alg" key in the header with an empty signature value.

    Recommended action: Upgrade to 5.3.1 or 4.5.5 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →