CyberSecBulletin
CVE-2024-6387NVD status: Modified

Red Hat Enterprise Linux 9: Concurrent Execution using Shared Resource with Improper Synchronization

CVE-2024-6387 is a high-severity concurrent execution using shared resource with improper synchronization vulnerability in Red Hat Enterprise Linux 9 from Red Hat, with a CVSS 3.1 base score of 8.1 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 99.5% chance of exploitation within 30 days, which is in the top 0.06% of all scored CVEs.

Patch now

Exploitation in the next 30 days is more likely than not, according to EPSS.

What to do

  1. Update SINAMICS IIoT module to V1.0 HF1 or a later version.
  2. Update SINEMA Remote Connect Server to V3.2 SP2 or a later version.
  3. Update SINUMERIK ONE to V6.24 or a later version.
  4. Read the advisory on ftp.netbsd.org for workarounds and exact fixed builds.
  5. Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.

Affected products and versions

VendorProductAffected versionsFixed in
Red HatRed Hat Enterprise Linux 9Not specified in the recordNot stated
Red HatRed Hat Enterprise Linux 9.0 Update Services for SAP SolutionsNot specified in the recordNot stated
Red HatRed Hat Enterprise Linux 9.2 Extended Update SupportNot specified in the recordNot stated
Red HatRed Hat OpenShift Container Platform 4.13Not specified in the recordNot stated
Red HatRed Hat OpenShift Container Platform 4.14Not specified in the recordNot stated
Red HatRed Hat OpenShift Container Platform 4.15Not specified in the recordNot stated
Red HatRed Hat OpenShift Container Platform 4.16Not specified in the recordNot stated
Red HatRed Hat Ceph Storage 5Not specified in the recordNot stated
Red HatRed Hat Ceph Storage 6Not specified in the recordNot stated
Red HatRed Hat Ceph Storage 7Not specified in the recordNot stated
Red HatRed Hat Enterprise Linux 10Not specified in the recordNot stated
Red HatRed Hat Enterprise Linux 6Not specified in the recordNot stated
Red HatRed Hat Enterprise Linux 7Not specified in the recordNot stated
Red HatRed Hat Enterprise Linux 8Not specified in the recordNot stated
Red HatRed Hat OpenShift Container Platform 4Not specified in the recordNot stated
SiemensIndustrial Edge Management OS (IEM-OS)all versionsNot stated
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.5 and laterNot stated
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.5 and laterNot stated
SiemensSINAMICS IIoT modulebefore V1.0 HF1V1.0 HF1
SiemensSINEMA Remote Connect Serverbefore V3.2 SP2V3.2 SP2
SiemensSINUMERIK ONEbefore V6.24V6.24
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFPV3.1.5 and laterNot stated
SonicWallSma 6200 FirmwareNot specified in the recordNot stated
SonicWallSma 7200 FirmwareNot specified in the recordNot stated
AristaEos4.32.0 through 4.32.1fNot stated

Version data comes from the organisation that assigned the CVE; 35 further products are omitted here. 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
HighAll data handled by the component can be read.
Integrity
HighData or code can be modified at will.
Availability
HighThe component can be taken down completely.

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H. Scored by NVD.

Scoring systemScoreSeverityScored by
CVSS 3.18.1HighCNA (redhat.com)
CVSS 3.18.1HighNVD

Official description

A security regression (CVE-2006-5051) was discovered in OpenSSH's server (sshd). There is a race condition which can lead sshd to handle some signals in an unsafe manner. An unauthenticated, remote attacker may be able to trigger it by failing to authenticate within a set time period.

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Concurrent Execution using Shared Resource with Improper Synchronization

The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.

How developers prevent this class of flaw

  • In languages that support it, use synchronization primitives. Only wrap these around critical code to minimize the impact on performance.
  • Use thread-safe capabilities such as the data access abstraction in Spring.
  • Minimize the usage of shared resources in order to remove as much complexity as possible from the control flow and to reduce the likelihood of unexpected conditions occurring. Additionally, this will minimize the amount of synchronization necessary and may even help to reduce the likelihood of a denial of service where an attacker may be able to repeatedly trigger a critical section (CWE-400).

More Concurrent Execution using Shared Resource with Improper Synchronization vulnerabilities (CWE-362)

Timeline

  1. CVE record published.
  2. CISA published its SSVC assessment (exploitation: poc, automatable: no, technical impact: total).
  3. Record last changed materially (score, affected products, status or references).

References

Third-party and government advisories

Other references

Other vulnerabilities in Red Hat Enterprise Linux 9

All Red Hat Enterprise Linux 9 vulnerabilities

Recent Concurrent Execution using Shared Resource with Improper Synchronization vulnerabilities

Spotted an error? Tell us.