ADVISORIES

Red Hat VEX

RHVEX-CVE-2025-59432

ongres-scram: Timing Attack Vulnerability in SCRAM Authentication

Moderate No fix available CVE-2025-59432

Details

A timing attack vulnerability exists in the SCRAM Java implementation. The issue arises because Arrays.equals was used to compare secret values such as client proofs and server signatures. Since Arrays.equals performs a short-circuit comparison, the execution time varies depending on how many leading bytes match. This behavior could allow an attacker to perform a timing side-channel attack and potentially infer sensitive authentication material. All users relying on SCRAM authentication are impacted.

Affected packages

EcosystemPackageAffected versions
Red Hat:enterprise_linux:10ongres-scram
All versions, no fix (fix deferred)
Red Hat:enterprise_linux:10ongres-scram-client
All versions, no fix (fix deferred)
Red Hat:enterprise_linux:10postgresql-jdbc
All versions, no fix (fix deferred)
Red Hat:enterprise_linux:8ongres-scram
All versions, no fix (fix deferred)
Red Hat:enterprise_linux:8ongres-scram-client
All versions, no fix (fix deferred)
Red Hat:enterprise_linux:9ongres-scram
All versions, no fix (fix deferred)
Red Hat:enterprise_linux:9ongres-scram-client
All versions, no fix (fix deferred)

References