HIGH 7.4

CVE-2022-3143

Wildfly-elytron possibly vulnerable to timing attacks via use of unsafe comparator

Description

wildfly-elytron: possible timing attacks via use of unsafe comparator. A flaw was found in Wildfly-elytron. Wildfly-elytron uses java.util.Arrays.equals in several places, which is unsafe and vulnerable to timing attacks. To compare values securely, use java.security.MessageDigest.isEqual instead. This flaw allows an attacker to access secure information or impersonate an authed user.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.wildfly.security » wildfly-elytron
< 1.15.15.Final>= 1.16.0.CR1, < 1.20.3.Final
1.15.15.Final, 1.20.3.Final

Blast radius

1affected artifacts
271affected versions
2,082dependent artifacts (est.)
47,653dependent versions

49% of the dependent artifacts (1,035) still pull an affected version in their latest release.

DepthDependent versions
Direct
8,425
2 hops
16,722
3 hops
14,726
4 hops
4,212
5 hops
2,153
6 hops
1,415

Most used dependents

Computed from the dependency graph of build 20261126.1706 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

References

Advisorynvd.nist.gov
Packagegithub.com
Webaccess.redhat.com
Webbugzilla.redhat.com