Race Condition Affecting github.com/cilium/cilium/pkg/endpointmanager package, versions <1.14.14 >=1.15.0 <1.15.8


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.06% (30th 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 ID SNYK-GOLANG-GITHUBCOMCILIUMCILIUMPKGENDPOINTMANAGER-7689042
  • published 16 Aug 2024
  • disclosed 15 Aug 2024
  • credit Satish Kumar Matti

How to fix?

Upgrade github.com/cilium/cilium/pkg/endpointmanager to version 1.14.14, 1.15.8 or higher.

Overview

github.com/cilium/cilium/pkg/endpointmanager is a package that manages the list of all local endpoints.

Affected versions of this package are vulnerable to Race Condition. An attacker can bypass the Host Firewall policy by exploiting the timing window where labels are not correctly applied to a node, causing CiliumClusterwideNetworkPolicies intended for nodes with the ignored label to not apply.

Workaround

This vulnerability can be mitigated by restarting the Cilium agent on affected nodes until the affected policies are confirmed to be working as expected.

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

Recommended
6.9 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    Present
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    None
  • Integrity (VI)
    None
  • Availability (VA)
    None
  • Confidentiality (SC)
    High
  • Integrity (SI)
    None
  • Availability (SA)
    None