Skip to main content

Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

CVE-2024-42488

Severity Medium
Score 6.8/10

Summary

Cilium is a networking, observability, and security solution with an eBPF-based dataplane. The vulnerability affects Cilium versions through 1.14.13 and versions from 1.15.0-pre.0 through 1.15.7, 1.16.0-pre.0 through 1.16.0-rc.1. A race condition in the Cilium agent could cause it to ignore labels that should be applied to a node. As a result, "CiliumClusterwideNetworkPolicies" intended for nodes with the ignored label might not be enforced, leading to a potential policy bypass. Since the underlying problem is due to a race condition, users who cannot upgrade immediately can restart the Cilium agent on affected nodes to ensure that the policies are properly applied.

  • HIGH
  • NETWORK
  • NONE
  • CHANGED
  • NONE
  • NONE
  • HIGH
  • NONE

CWE-362 - Race Condition

A race condition occurs in a shared memory program when two threads/processes access the same shared memory data, and at least one thread executes a write operation. This vulnerability manipulates the time to check vs. time to use (TOC/TOU) gap between the threads in the critical section to cause disorientation in the shared data. The impact can vary from compromising the confidentiality of the system to causing the system to crash or to execute arbitrary code.

Advisory Timeline

  • Published