CVE-2022-3143 Wildfly-elytron possibly vulnerable to timing attacks via use of unsafe comparator
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.
| Package | Affected | Fixed in |
|---|---|---|
org.wildfly.security:wildfly-elytron Maven | All versions | 1.15.15.Final |
org.wildfly.security:wildfly-elytron Maven | All versions | 1.15.15.Final |
org.wildfly.security:wildfly-elytron Maven | From 1.16.0.CR1 | 1.20.3.Final |
org.wildfly.security:wildfly-elytron Maven | From 1.16.0.CR1 | 1.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.
Other vulnerabilities in Redhat Jboss Enterprise Application Platform
- CVE-2017-12149 Red Hat JBoss Application Server Remote Code Execution
- CVE-2010-1428 Red Hat JBoss Information Disclosure
- CVE-2010-0738 Red Hat JBoss Authentication Bypass
- CVE-2016-3690 Deserialization in n/a
- CVE-2017-7504 Deserialization in JBoss
All Redhat Jboss Enterprise Application Platform vulnerabilities
Sources
Also known as GHSA-jmj6-p2j9-68cp.