CVE-2021-44878
CVSS V2 Medium 5
CVSS V3 High 7.5
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.
Overview
- CVE ID
- CVE-2021-44878
- Assigner
- cve@mitre.org
- Vulnerability Status
- Analyzed
- Published Version
- 2022-01-06T13:15:08
- Last Modified Date
- 2022-05-13T15:51:59
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:pac4j:pac4j:*:*:*:*:*:*:*:* | 1 | OR | 4.5.5 | |
cpe:2.3:a:pac4j:pac4j:*:*:*:*:*:*:*:* | 1 | OR | 5.0.0 | 5.3.1 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:N/I:P/A:N
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- NONE
- Integrity Impact
- PARTIAL
- Availability Impact
- NONE
- Base Score
- 5
- Severity
- MEDIUM
- Exploitability Score
- 10
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- NONE
- Availability Impact
- NONE
- Base Score
- 7.5
- Base Severity
- HIGH
- Exploitability Score
- 3.9
- Impact Score
- 3.6
References
Reference URL | Reference Tags |
---|---|
https://github.com/pac4j/pac4j/commit/22b82ffd702a132d9f09da60362fc6264fc281ae | Patch Third Party Advisory |
https://openid.net/specs/openid-connect-core-1_0.html#IDToken | Product Third Party Advisory |
https://www.pac4j.org/blog/cve_2021_44878_is_this_serious.html |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-44878 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44878 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-04-04 00:40:33 | Added to TrackCVE | |||
2022-12-06 05:47:02 | 2022-01-06T13:15Z | 2022-01-06T13:15:08 | CVE Published Date | updated |
2022-12-06 05:47:02 | 2022-05-13T15:51:59 | CVE Modified Date | updated | |
2022-12-06 05:47:02 | Analyzed | Vulnerability Status | updated |