Timing Attack Affecting com.ongres.scram:scram-common package, versions [,3.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

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-COMONGRESSCRAM-12818392
  • published17 Sept 2025
  • disclosed16 Sept 2025
  • creditUnknown

Introduced: 16 Sep 2025

NewCVE-2025-59432  (opens in a new tab)
CWE-208  (opens in a new tab)

How to fix?

Upgrade com.ongres.scram:scram-common to version 3.2 or higher.

Overview

Affected versions of this package are vulnerable to Timing Attack via the verifyClientProof function which use Arrays.equals function. An attacker can infer sensitive authentication material by exploiting timing differences during the comparison of secret values.

References

CVSS Base Scores

version 4.0
version 3.1