Cleartext Transmission of Sensitive Information Affecting github.com/cilium/cilium/bpf package, versions >=1.14.0 <1.14.8 >=1.15.0 <1.15.2


0.0
medium

Snyk CVSS

    Attack Complexity High
    Scope Changed
    Confidentiality High

    Threat Intelligence

    EPSS 0.05% (15th 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-GITHUBCOMCILIUMCILIUMBPF-6457869
  • published 19 Mar 2024
  • disclosed 18 Mar 2024
  • credit Marco Iorio

How to fix?

Upgrade github.com/cilium/cilium/bpf to version 1.14.8, 1.15.2 or higher.

Overview

Affected versions of this package are vulnerable to Cleartext Transmission of Sensitive Information due to improper handling of traffic encryption between nodes when using WireGuard in conjunction with Layer 7 policies. Specifically, traffic that should be encrypted by WireGuard is transmitted unencrypted between a node's Envoy proxy and pods on other nodes, as well as between a node's DNS proxy and pods on other nodes. This vulnerability exposes sensitive data to potential interception and undermines the security guarantees provided by WireGuard encryption.

Note:

This issue affects:

  1. In native routing mode (routingMode=native):

Cilium v1.14 versions before v1.14.8

Cilium v1.15 versions before v1.15.2

  1. In tunneling mode (routingMode=tunnel):

Cilium v1.14 versions before v1.14.4

Cilium v1.14.4 if encryption.wireguard.encapsulate is set to false (default).

References