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

High 7.4 Published Updated

Attackers can exploit timing side-channels in Wildfly Elytron to access secure information or impersonate authenticated users.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-3143?

CVE-2022-3143 is a high-severity vulnerability in Redhat Jboss Enterprise Application Platform, published on 11 Jan 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-203

Which versions are affected by CVE-2022-3143?

4 open source packages ship an affected version, including org.wildfly.security:wildfly-elytron. It affects 2 products.

PackageAffectedFixed in
org.wildfly.security:wildfly-elytron MavenAll versions1.15.15.Final
org.wildfly.security:wildfly-elytron MavenAll versions1.15.15.Final
org.wildfly.security:wildfly-elytron MavenFrom 1.16.0.CR11.20.3.Final
org.wildfly.security:wildfly-elytron MavenFrom 1.16.0.CR11.20.3.Final

Products include Redhat Jboss Enterprise Application Platform, Redhat Wildfly Elytron.

How do I fix CVE-2022-3143?

Upgrade org.wildfly.security:wildfly-elytron to a fixed version for your release line: 1.15.15.Final or 1.20.3.Final.

Is CVE-2022-3143 being exploited?

There is no known exploitation of CVE-2022-3143 in the wild and no public exploit code.

All Redhat Jboss Enterprise Application Platform vulnerabilities

Sources

Also known as GHSA-jmj6-p2j9-68cp.

Is CVE-2022-3143 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free