
Cloud Vulnerability DB
A community-led vulnerabilities database
A timing attack vulnerability (GHSA-3wfh-36rx-9537) was discovered in the SCRAM Java implementation affecting versions prior to 3.2 of com.ongres.scram:scram-common package. The vulnerability was disclosed and patched on September 16, 2025. The issue stems from the usage of Arrays.equals for comparing secret values such as client proofs and server signatures during SCRAM authentication (GitHub Advisory).
The vulnerability arises because Arrays.equals performs a short-circuit comparison, where the execution time varies depending on how many leading bytes match. This timing discrepancy creates a side-channel that could potentially leak information about the secret values being compared. The issue has been assigned a CVSS score of 6.6 (Moderate severity) with attack vector being Network, attack complexity Low, and requiring no privileges or user interaction. The vulnerability is classified under CWE-208 (Observable Timing Discrepancy) and CWE-385 (Covert Timing Channel) (GitHub Advisory).
The vulnerability impacts all users relying on SCRAM authentication. A successful exploitation could potentially allow an attacker to infer sensitive authentication material through timing analysis. The vulnerability affects the confidentiality of the vulnerable system with a High impact rating, while integrity and availability remain unaffected (GitHub Advisory).
The vulnerability has been patched in version 3.2 by replacing Arrays.equals with MessageDigest.isEqual, which ensures constant-time comparison. Users should upgrade to version 3.2 or later to mitigate this issue. While the attack requires high precision and repeated attempts, limiting the risk, the only reliable mitigation is to upgrade to a patched release (GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."