Vulnerability DatabaseGHSA-3wfh-36rx-9537

GHSA-3wfh-36rx-9537
Java vulnerability analysis and mitigation

Overview

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).

Technical details

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).

Impact

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).

Mitigation and workarounds

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).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-41243CRITICAL10
  • JavaJava
  • org.springframework.cloud:spring-cloud-gateway-server-webflux
NoYesSep 16, 2025
CVE-2025-43801MEDIUM6.9
  • JavaJava
  • cpe:2.3:a:liferay:liferay_portal
NoYesSep 16, 2025
GHSA-3wfh-36rx-9537MEDIUM6.6
  • JavaJava
  • com.ongres.scram:scram-common
NoYesSep 16, 2025
CVE-2025-43797MEDIUM5.3
  • JavaJava
  • cpe:2.3:a:liferay:liferay_portal
NoYesSep 15, 2025
CVE-2025-43802MEDIUM4.8
  • JavaJava
  • com.liferay.workspace:com.liferay.ticket.workspace
NoYesSep 15, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management