UBUNTU-CVE-2025-59432

Source
https://ubuntu.com/security/CVE-2025-59432
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-59432.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2025-59432
Upstream
Published
2025-09-22T20:15:00Z
Modified
2025-10-24T05:23:36Z
Severity
  • 6.6 (Medium) CVSS_V4 - 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 CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:18.04:LTS / scram

Package

Name
scram
Purl
pkg:deb/ubuntu/scram@0.16.2-1?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.15.0-1
0.15.0-1build1
0.16.0-1
0.16.2-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "scram",
            "binary_version": "0.16.2-1"
        },
        {
            "binary_name": "scram-gui",
            "binary_version": "0.16.2-1"
        }
    ]
}

Ubuntu:20.04:LTS / scram

Package

Name
scram
Purl
pkg:deb/ubuntu/scram@0.16.2-1build2?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.16.2-1build1
0.16.2-1build2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "scram",
            "binary_version": "0.16.2-1build2"
        },
        {
            "binary_name": "scram-gui",
            "binary_version": "0.16.2-1build2"
        }
    ]
}

Ubuntu:22.04:LTS / scram

Package

Name
scram
Purl
pkg:deb/ubuntu/scram@0.16.2-3?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.16.2-3

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "scram",
            "binary_version": "0.16.2-3"
        },
        {
            "binary_name": "scram-gui",
            "binary_version": "0.16.2-3"
        }
    ]
}

Ubuntu:24.04:LTS / scram

Package

Name
scram
Purl
pkg:deb/ubuntu/scram@0.16.2-3build4?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.16.2-3
0.16.2-3build1
0.16.2-3build3
0.16.2-3build4

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "scram",
            "binary_version": "0.16.2-3build4"
        },
        {
            "binary_name": "scram-gui",
            "binary_version": "0.16.2-3build4"
        }
    ]
}

Ubuntu:25.04 / scram

Package

Name
scram
Purl
pkg:deb/ubuntu/scram@0.16.2-3build4?arch=source&distro=plucky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.16.2-3build4

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "scram",
            "binary_version": "0.16.2-3build4"
        },
        {
            "binary_name": "scram-gui",
            "binary_version": "0.16.2-3build4"
        }
    ]
}