Timing Attack Affecting org.wildfly.security:wildfly-elytron-password-impl package, versions [,1.15.15)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.15% (53rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGWILDFLYSECURITY-3229189
  • published13 Jan 2023
  • disclosed13 Jan 2023
  • creditUnknown

Introduced: 13 Jan 2023

CVE-2022-3143  (opens in a new tab)
CWE-208  (opens in a new tab)

How to fix?

Upgrade org.wildfly.security:wildfly-elytron-password-impl to version 1.15.15 or higher.

Overview

Affected versions of this package are vulnerable to Timing Attack due to the use of uses java.util.Arrays.equals unsafe comparator. This flaw allows an attacker to access secure information or impersonate an authenticated user.

Note: To compare values securely, users should use java.security.MessageDigest.isEqual function instead.

CVSS Scores

version 3.1