Race Condition Affecting openssh package, versions <0:8.7p1-8.amzn2023.0.12


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.04% (15th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-OPENSSH-7547688
  • published23 Jul 2024
  • disclosed8 Jul 2024

Introduced: 8 Jul 2024

CVE-2024-6409  (opens in a new tab)
CWE-364  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 openssh to version 0:8.7p1-8.amzn2023.0.12 or higher.
This issue was patched in ALAS2023-2024-651.

NVD Description

Note: Versions mentioned in the description apply only to the upstream openssh package and not the openssh package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

A race condition vulnerability was discovered in how signals are handled by OpenSSH's server (sshd). If a remote attacker does not authenticate within a set time period, then sshd's SIGALRM handler is called asynchronously. However, this signal handler calls various functions that are not async-signal-safe, for example, syslog(). As a consequence of a successful attack, in the worst case scenario, an attacker may be able to perform a remote code execution (RCE) as an unprivileged user running the sshd server.

CVSS Scores

version 3.1