Staging Environment: Content and features may be unstable or change without notice.

Advisory Weakness Curation

CVE-2021-44878

Progress 0 / 0

Advisory Summaries

github_osv/GHSA-xhw6-hjc9-679m

Pac4j token validation bypass if OpenID Connect provider supports none algorithm 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.

gitlab/maven/org.pac4j/pac4j-core/CVE-2021-44878

Token validation bypass in Pac4j Pac4j v5.1 and earlier allows (by default) clients to accept and successfully validate ID Tokens with "none" algorithm (i.e., tokens with no signature) 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.

gitlab/maven/org.pac4j/pac4j-oidc/CVE-2021-44878

Improper Verification of Cryptographic Signature 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.

gitlab/maven/org.pac4j/pac4j-saml/CVE-2021-44878

Improper Verification of Cryptographic Signature Pac4j v5.1 allows (by default) clients to accept and successfully validate ID Tokens with `none` algorithm (i.e., tokens with no signature) 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.