WaratekVRT Sign in

CVE-2021-44878 pac4j

Affected softwarepac4j
Severity7.5 High CVSS 3.1 2 scores
Fixed in4.5.5, 5.3.1
WeaknessCWE-347
Published6 Jan 2022
Updated17 Jun 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 4 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 0.92% chance in 30 days

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists: pac4j/pac4j 22b82ff.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active
Decided by Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all
Finding This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious.
Candidate fix https://github.com/pac4j/pac4j/commit/22b82ffd702a132d9f09da60362fc6264fc281ae : a commit: the change itself

CVSS

7.5 HIGH v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 7.5 HIGH CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N NVD Primary published
CVSS 2.0 5.0 none AV:N/AC:L/Au:N/C:N/I:P/A:N NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.pac4j:pac4j-oidc 0 4.5.5 unbounded
org.pac4j:pac4j-oidc 5.0 5.3.1 unbounded

Products and versions

2 products, 4 version entries
SourceVendorProductSchemeAffected versions
osv org.pac4j pac4j-oidc generic < 4.5.5 · ≥ 5.0 and < 5.3.1
nvd pac4j pac4j generic < 4.5.5 · ≥ 5.0.0 and < 5.3.1

References

URLTags
https://github.com/pac4j/pac4j/commit/22b82ffd702a132d9f09da60362fc6264fc281ae commit
https://github.com/pac4j/pac4j/commit/09684e0de1c4753d22c53b8135d4ef61cfda76f7 WEB
https://github.com/pac4j/pac4j/commit/9c87bbc536ed5d05f940ae015403120df2935589 WEB
https://github.com/pac4j/pac4j PACKAGE
https://openid.net/specs/openid-connect-core-1_0.html#IDToken WEB
https://www.pac4j.org/4.5.x/docs/release-notes.html WEB
https://www.pac4j.org/blog/cve_2021_44878_is_this_serious.html WEB

Timeline

Published2022-01-06By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.