CVE-2022-3143

Wildfly-elytron possibly vulnerable to timing attacks via use of unsafe comparator in maven/org.wildfly.security/wildfly-elytron

Identifiers

GHSA-jmj6-p2j9-68cp, CVE-2022-3143

Package Slug

maven/org.wildfly.security/wildfly-elytron

Vulnerability

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 Versions

All versions before 1.15.15.final, all versions starting from 1.16.0.cr1 before 1.20.3.final

Solution

Upgrade to versions 1.15.15.Final, 1.20.3.Final or above.

Last Modified

2023-01-16

source