{"id":"CVE-2021-44878","published":"2022-01-06T12:52:04Z","modified":"2024-08-04T04:32:13Z","title":"If an OpenID Connect provider supports the \"none\" algorithm (i.e., tokens with no signature), pac4j v5.3.0 (and prior)…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00899,"percentile":0.60508,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/pac4j/pac4j/commit/22b82ffd702a132d9f09da60362fc6264fc281ae","tags":["x_refsource_MISC"]},{"url":"https://openid.net/specs/openid-connect-core-1_0.html#IDToken","tags":["x_refsource_MISC"]},{"url":"https://www.pac4j.org/blog/cve_2021_44878_is_this_serious.html","tags":["x_refsource_MISC"]}],"priority":{"score":12.1,"factors":[{"name":"EPSS percentile","points":12.1}]},"affected":[{"ecosystem":"Maven","package":"org.pac4j:pac4j-oidc","vulnerableRanges":["<4.5.5",">=5.0, <5.3.1"],"patched":["4.5.5","5.3.1"],"from":["GHSA-xhw6-hjc9-679m"],"provenance":"source"}],"summary":{"text":"The flaw lies in the OpenID Connect handling of the pac4j library (v5.3.0 and earlier), which does not reject ID tokens signed with the \"none\" algorithm unless explicitly configured to do so, including for the \"idtoken\" response type. Because no signature verification is performed on such tokens, an attacker can craft a malformed ID token with \"none\" as the \"alg\" header value and an empty signature, bypassing token validation.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:02:59Z"},"euvd":{"id":"EUVD-2022-0744","exploited":false,"provenance":"source"}}