CVE-2021-44878 Details
Description
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/pac4j/pac4j/commit/22b82ffd702a132d9f09da60362fc6264fc281ae | CVE | PatchThird Party Advisory |
| https://openid.net/specs/openid-connect-core-1_0.html#IDToken | CVE | ProductThird Party Advisory |
| https://www.pac4j.org/blog/cve_2021_44878_is_this_serious.html | CVE | MitigationVendor Advisory |
| https://github.com/pac4j/pac4j/commit/22b82ffd702a132d9f09da60362fc6264fc281ae | [email protected] | PatchThird Party Advisory |
| https://openid.net/specs/openid-connect-core-1_0.html#IDToken | [email protected] | ProductThird Party Advisory |
| https://www.pac4j.org/blog/cve_2021_44878_is_this_serious.html | [email protected] | MitigationVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-347 | Improper Verification of Cryptographic Signature | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| pac4j pac4j | < 4.5.5 >= 5.0.0, < 5.3.1 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| May 13, 2022 | Modified Analysis | [email protected] |
| Mar 30, 2022 | CVE Modified | [email protected] |
| Mar 17, 2022 | Reanalysis | [email protected] |
| Jan 14, 2022 | Initial Analysis | [email protected] |