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)
| Artifact | Affected versions | Fixed 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
49% of the dependent artifacts (1,035) still pull an affected version in their latest release.
| Depth | Dependent 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
- org.apache.camel.springboot » camel-core-starter558 usages
- org.apache.camel.springboot » camel-spring-boot-starter478 usages
- org.wildfly.core » wildfly-server477 usages
- org.wildfly.plugins » wildfly-maven-plugin430 usages
- org.wildfly.core » wildfly-controller406 usages
- org.wildfly » wildfly-feature-pack372 usages
- org.wildfly.core » wildfly-core-feature-pack320 usages
- org.apache.camel.quarkus » camel-quarkus-maven-plugin302 usages
- org.wildfly » wildfly-servlet-feature-pack289 usages
- org.wildfly.swarm » arquillian281 usages
- org.wildfly.core » wildfly-subsystem-test269 usages
- org.infinispan » infinispan-client-hotrod220 usages
- io.quarkus » quarkus-hibernate-orm191 usages
- org.jboss.narayana.jta » narayana-jta174 usages
- io.quarkus » quarkus-agroal167 usages
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
| Advisory | NVD CVE-2022-3143 | nvd.nist.gov |
| Package | wildfly-security/wildfly-elytron | github.com |
| Web | security/cve/CVE-2022-3143 | access.redhat.com |
| Web | show_bug.cgi | bugzilla.redhat.com |
