Red Hat Enterprise Linux 9: Signal Handler Race Condition
CVE-2024-6409 is a high-severity signal handler race condition vulnerability in Red Hat Enterprise Linux 9 from Red Hat, with a CVSS 3.1 base score of 7.0 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. There is no confirmed exploitation so far. EPSS estimates a 27.9% chance of exploitation within 30 days, which is in the top 1.87% of all scored CVEs.
EPSS places it among the vulnerabilities most likely to be exploited soon.
What to do
- Update SIMATIC S7-1500 CPU 1518-4 PN/DP MFP to V3.1.5 or a later version.
- Update SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP to V3.1.5 or a later version.
- Update SIPLUS S7-1500 CPU 1518-4 PN/DP MFP to V3.1.5 or a later version.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
Affected products and versions
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- HighSuccess depends on conditions outside the attacker's control.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- LowSome restricted data can be read.
- Integrity
- LowLimited modification of data is possible.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H. Scored by CNA (redhat.com).
Official description
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.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Signal Handler Race Condition
The product uses a signal handler that introduces a race condition.
How developers prevent this class of flaw
- Use a language that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid.
- Design signal handlers to only set flags, rather than perform complex functionality. These flags can then be checked and acted upon within the main program loop.
- Only use reentrant functions within signal handlers. Also, use validation to ensure that state is consistent while performing asynchronous actions that affect the state of execution.
More Signal Handler Race Condition vulnerabilities (CWE-364)
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: total).
- Record last changed materially (score, affected products, status or references).
References
Patches and release notes
Other references
- access.redhat.com/errata/RHSA-2024:4457
- access.redhat.com/errata/RHSA-2024:4613
- access.redhat.com/errata/RHSA-2024:4716
- access.redhat.com/errata/RHSA-2024:4910
- access.redhat.com/errata/RHSA-2024:4955
- access.redhat.com/errata/RHSA-2024:4960
- access.redhat.com/errata/RHSA-2024:5444
- access.redhat.com/security/cve/CVE-2024-6409
- bugzilla.redhat.com/show_bug.cgi?id=2295085
- openwall.com/lists/oss-security/2024/07/08/2
- openwall.com/lists/oss-security/2024/07/09/2
- openwall.com/lists/oss-security/2024/07/09/5
- openwall.com/lists/oss-security/2024/07/10/1
- openwall.com/lists/oss-security/2024/07/10/2
- almalinux.org/blog/2024-07-09-cve-2024-6409/
Other vulnerabilities in Red Hat Enterprise Linux 9
- 7.5 High severity
- 7.5 High severity
- 7.9 High severity
- 7.3 High severity
- 7.5 High severity
- 7.8 High severity
Spotted an error? Tell us.