Race Condition Affecting pam_ssh_agent_auth package, versions <0:0.10.4-5.38.0.2.el9_4.4


Severity

Recommended
medium

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
70.2% (99th 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-ORACLE9-PAMSSHAGENTAUTH-7444689
  • published12 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 Oracle:9 pam_ssh_agent_auth to version 0:0.10.4-5.38.0.2.el9_4.4 or higher.
This issue was patched in ELSA-2024-4457.

NVD Description

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

version 3.1