GHSA-xhw6-hjc9-679m

Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-xhw6-hjc9-679m/GHSA-xhw6-hjc9-679m.json
Aliases
  • CVE-2021-44878
Published
2022-01-08T00:36:05Z
Modified
2022-08-16T03:32:14.085960Z
Details

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.

References

Affected packages

Maven / org.pac4j:pac4j-core

org.pac4j:pac4j-core

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0
Fixed
4.5.5

Affected versions

1.*

1.4.0
1.4.1
1.5.0
1.5.1
1.6.0
1.6.0-RC1
1.7.0
1.7.1
1.7.2
1.8.0
1.8.0-RC1
1.8.1
1.8.2
1.8.3
1.8.4
1.8.5
1.8.6
1.8.7
1.8.8
1.8.9
1.9.0
1.9.1
1.9.2
1.9.3
1.9.4
1.9.5
1.9.6
1.9.7
1.9.8
1.9.9

2.*

2.0.0
2.0.0-RC1
2.0.0-RC2
2.1.0
2.2.0
2.2.1
2.3.0
2.3.1

3.*

3.0.0
3.0.0-RC1
3.0.0-RC2
3.0.1
3.0.2
3.1.0
3.2.0
3.3.0
3.4.0
3.5.0
3.6.0
3.6.1
3.7.0
3.8.0
3.8.1
3.8.2
3.8.3
3.9.0

4.*

4.0.0
4.0.0-RC1
4.0.0-RC2
4.0.0-RC3
4.0.1
4.0.2
4.0.3
4.1.0
4.2.0
4.3.0
4.3.1
4.4.0
4.5.0
4.5.1
4.5.2
4.5.3
4.5.4

Maven / org.pac4j:pac4j-core

org.pac4j:pac4j-core

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.0
Fixed
5.3.1

Affected versions

5.*

5.0.0
5.0.1
5.1.0
5.1.1
5.1.2
5.1.3
5.1.4
5.1.5
5.2.0
5.2.1
5.3.0