{"answers":{"affected":"2 open source packages ship an affected version, including com.ongres.scram:scram-common.","exploited":"There is no known exploitation of CVE-2025-59432 in the wild and no public exploit code.","fix":"Upgrade com.ongres.scram:scram-common to 3.2 or later.","what":"CVE-2025-59432 is a medium-severity vulnerability in ongres scram, published on 22 Sep 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-59432 and fix it if it is affected.\n\nWhat it is: CVE-2025-59432 is a medium-severity vulnerability in ongres scram, published on 22 Sep 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-59432 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- com.ongres.scram:scram-common (Maven): affected all versions; fixed in 3.2\n- com.ongres.scram:scram-common (Maven): affected all versions; fixed in 3.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-59432/ (Markdown: https://insights.sbomify.com/CVE-2025-59432/index.md)","id":"CVE-2025-59432","markdown":"https://insights.sbomify.com/CVE-2025-59432/index.md","name":"CVE-2025-59432","record":{"aliases":["DEBIAN-CVE-2025-59432","GHSA-3wfh-36rx-9537","OESA-2025-2391","OESA-2025-2392","OESA-2025-2393","OESA-2025-2394","OESA-2025-2395","OESA-2025-2396","SUSE-SU-2025:21016-1","SUSE-SU-2025:4054-1","SUSE-SU-2026:21608-1","UBUNTU-CVE-2025-59432","openSUSE-SU-2025:15680-1","openSUSE-SU-2025:20059-1","openSUSE-SU-2026:20742-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Java SCRAM library","requires_auth":"none","summary":"A timing side-channel in the SCRAM Java library allows attackers to infer authentication secrets via variable execution time in comparisons.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":6.6,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U","version":"4.0"},"cwes":[{"id":"CWE-385","name":"Covert Timing Channel"},{"id":"CWE-208","name":"Observable Timing Discrepancy"}],"description":"SCRAM (Salted Challenge Response Authentication Mechanism) is part of the family of Simple Authentication and Security Layer (SASL, RFC 4422) authentication mechanisms. Prior to version 3.2, 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. This vulnerability has been patched in version 3.1 by replacing Arrays.equals with MessageDigest.isEqual, which ensures constant-time comparison.","ecosystems":["Maven","SUSE:Linux Enterprise Module for Server Applications 15 SP6","SUSE:Linux Enterprise Module for Server Applications 15 SP7","SUSE:Linux Enterprise Server 16.0","SUSE:Linux Enterprise Server for SAP applications 16.0","openSUSE:Leap 15.6","openSUSE:Leap 16.0","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Timing Attack Vulnerability in SCRAM Authentication","id":"CVE-2025-59432","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"information_disclosure","year":"2025"},"n_packages":9,"n_references":3,"next":{"headline":"@conventional-changelog/git-client has an Argument Injection vulnerability","id":"CVE-2025-59433"},"packages":[{"ecosystem":"Maven","fixed":["3.2"],"introduced":["0"],"last_affected":[],"package":"com.ongres.scram:scram-common","purl":null,"source":"GHSA-3wfh-36rx-9537"},{"ecosystem":"Maven","fixed":["3.2"],"introduced":["0"],"last_affected":[],"package":"com.ongres.scram:scram-common","purl":"pkg:maven/com.ongres.scram/scram-common","source":"GHSA-3wfh-36rx-9537"},{"ecosystem":"SUSE:Linux Enterprise Module for Server Applications 15 SP6","fixed":["2.1-150400.8.5.1"],"introduced":["0"],"last_affected":[],"package":"ongres-scram","purl":"pkg:rpm/suse/ongres-scram\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP6","source":"SUSE-SU-2025:4054-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Server Applications 15 SP7","fixed":["2.1-150400.8.5.1"],"introduced":["0"],"last_affected":[],"package":"ongres-scram","purl":"pkg:rpm/suse/ongres-scram\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP7","source":"SUSE-SU-2025:4054-1"},{"ecosystem":"SUSE:Linux Enterprise Server 16.0","fixed":["3.1-160000.3.1"],"introduced":["0"],"last_affected":[],"package":"ongres-scram","purl":"pkg:rpm/suse/ongres-scram\u0026distro=SUSE%20Linux%20Enterprise%20Server%2016.0","source":"SUSE-SU-2025:21016-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP applications 16.0","fixed":["3.1-160000.3.1"],"introduced":["0"],"last_affected":[],"package":"ongres-scram","purl":"pkg:rpm/suse/ongres-scram\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20applications%2016.0","source":"SUSE-SU-2025:21016-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["2.1-150400.8.5.1"],"introduced":["0"],"last_affected":[],"package":"ongres-scram","purl":"pkg:rpm/opensuse/ongres-scram\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2025:4054-1"},{"ecosystem":"openSUSE:Leap 16.0","fixed":["3.1-160000.3.1"],"introduced":["0"],"last_affected":[],"package":"ongres-scram","purl":"pkg:rpm/opensuse/ongres-scram\u0026distro=openSUSE%20Leap%2016.0","source":"openSUSE-SU-2025:20059-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["3.2-7.1"],"introduced":["0"],"last_affected":[],"package":"ongres-scram","purl":"pkg:rpm/opensuse/ongres-scram\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15680-1"}],"prev":{"headline":"MapServer - WFS XML Filter Query SQL injection","id":"CVE-2025-59431"},"products":["scram"],"published":"2025-09-22","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-01-23","vendors":["ongres"]},"summary":"A timing side-channel in the SCRAM Java library allows attackers to infer authentication secrets via variable execution time in comparisons.","url":"https://insights.sbomify.com/CVE-2025-59432/"}