OpenSSH Race Condition Remote Code Execution (CVE-2024-6387)
Summary
ALSA-2024:4312: Important: openssh security update. Affects openssh versions < 8.7p1-38.el9_4.1. Fixed in 8.7p1-38.el9_4.1. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
OpenSSH is an SSH protocol implementation used by various Linux, UNIX, and similar operating systems. It provides essential files for both the OpenSSH client and server. OpenSSH enables secure remote access and file transfer between systems.
Vulnerability Detail
The OpenSSH vulnerability (CVE-2024-6387) is a race condition in signal handling that could potentially lead to remote code execution. Attackers can exploit this vulnerability to execute arbitrary code on the affected system, compromising its security and potentially gaining unauthorized access.
How To Fix
Minimum fixed version
8.7p1-38.el9_4.1
This is the first release that contains the fix.
sudo dnf update openssh
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no known workaround for this vulnerability. It is crucial to apply the security update as soon as possible to mitigate the risk of exploitation.
Conclusion
The OpenSSH vulnerability (CVE-2024-6387) poses a significant risk of remote code execution due to a race condition in signal handling. It is essential to update the OpenSSH package to the recommended version to mitigate this vulnerability and ensure the security of the system.
See every vulnerability recorded for openssh →
FAQ
OpenSSH is an SSH protocol implementation used for secure remote access and file transfer between systems.
The vulnerability (CVE-2024-6387) allows attackers to potentially execute arbitrary code on the affected system, compromising its security and potentially gaining unauthorized access.
To fix this vulnerability, update the OpenSSH package to version 8.7p1-38.el9_4.1 or later.
There is no known workaround for this vulnerability. It is crucial to apply the security update as soon as possible.
You can find more information about this vulnerability on the CVE page: CVE-2024-6387.
Related vulnerabilities
Recent vulnerabilities recorded for openssh.