Race Condition Affecting openssh package, versions <0:8.7p1-38.el9_4.4


Severity

Recommended
medium

Based on CentOS 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-CENTOS9-OPENSSH-7431768
  • published10 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 Centos:9 openssh to version 0:8.7p1-38.el9_4.4 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream openssh package and not the openssh package as distributed by Centos. See How to fix? for Centos:9 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