org.pac4j:pac4j-oidc@2.0.0-RC1 vulnerabilities

Direct Vulnerabilities

Known vulnerabilities in the org.pac4j:pac4j-oidc package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Access Restriction Bypass

Affected versions of this package are vulnerable to Access Restriction Bypass by allowing clients to accept and successfully validate ID Tokens with "none" algorithm by default, (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.

How to fix Access Restriction Bypass?

Upgrade org.pac4j:pac4j-oidc to version 5.2.0 or higher.

[,5.2.0)