CVE Vulnerabilities

CVE-2024-39894

Time-of-check Time-of-use (TOCTOU) Race Condition

Published: Jul 02, 2024 | Modified: Sep 11, 2024
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
3.1 LOW
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N
Ubuntu
MEDIUM

OpenSSH 9.5 through 9.7 before 9.8 sometimes allows timing attacks against echo-off password entry (e.g., for su and Sudo) because of an ObscureKeystrokeTiming logic error. Similarly, other timing attacks against keystroke entry could occur.

Weakness

The product checks the state of a resource before using that resource, but the resource’s state can change between the check and the use in a way that invalidates the results of the check. This can cause the product to perform invalid actions when the resource is in an unexpected state.

Affected Software

Name Vendor Start Version End Version
Openssh Ubuntu devel *
Openssh Ubuntu noble *
Openssh Ubuntu upstream *
Openssh-ssh1 Ubuntu upstream *

Potential Mitigations

References