5.5
MEDIUM
CVE-2023-27593
Cilium eBPF-based Dataplane CNI Binary Rewrite File System Access Vulnerability
Description

Cilium is a networking, observability, and security solution with an eBPF-based dataplane. Prior to versions 1.11.15, 1.12.8, and 1.13.1, an attacker with access to a Cilium agent pod can write to `/opt/cni/bin` due to a `hostPath` mount of that directory in the agent pod. By replacing the CNI binary with their own malicious binary and waiting for the creation of a new pod on the node, the attacker can gain access to the underlying node. The issue has been fixed and the fix is available on versions 1.11.15, 1.12.8, and 1.13.1. Some workarounds are available. Kubernetes RBAC should be used to deny users and service accounts `exec` access to Cilium agent pods. In cases where a user requires `exec` access to Cilium agent pods, but should not have access to the underlying node, no workaround is possible.

INFO

Published Date :

March 17, 2023, 8:15 p.m.

Last Modified :

Nov. 7, 2023, 4:10 a.m.

Remotely Exploitable :

No

Impact Score :

3.6

Exploitability Score :

1.8
Affected Products

The following products are affected by CVE-2023-27593 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Cilium cilium
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2023-27593.

URL Resource
https://github.com/cilium/cilium/pull/24075 Third Party Advisory
https://github.com/cilium/cilium/releases/tag/v1.11.15 Third Party Advisory
https://github.com/cilium/cilium/releases/tag/v1.12.8 Third Party Advisory
https://github.com/cilium/cilium/releases/tag/v1.13.1 Third Party Advisory
https://github.com/cilium/cilium/security/advisories/GHSA-4hc4-pgfx-3mrx Third Party Advisory
https://kubernetes.io/docs/reference/access-authn-authz/rbac/ Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-27593 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-27593 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Changed Description Cilium is a networking, observability, and security solution with an eBPF-based dataplane. Prior to versions 1.11.15, 1.12.8, and 1.13.1, an attacker with access to a Cilium agent pod can write to `/opt/cni/bin` due to a `hostPath` mount of that directory in the agent pod. By replacing the CNI binary with their own malicious binary and waiting for the creation of a new pod on the node, the attacker can gain access to the underlying node. The issue has been fixed and the fix is available on versions 1.11.15, 1.12.8, and 1.13.1. Some workarounds are available. Kubernetes RBAC should be used to deny users and service accounts `exec` access to Cilium agent pods. In cases where a user requires `exec` access to Cilium agent pods, but should not have access to the underlying node, no workaround is possible. Cilium is a networking, observability, and security solution with an eBPF-based dataplane. Prior to versions 1.11.15, 1.12.8, and 1.13.1, an attacker with access to a Cilium agent pod can write to `/opt/cni/bin` due to a `hostPath` mount of that directory in the agent pod. By replacing the CNI binary with their own malicious binary and waiting for the creation of a new pod on the node, the attacker can gain access to the underlying node. The issue has been fixed and the fix is available on versions 1.11.15, 1.12.8, and 1.13.1. Some workarounds are available. Kubernetes RBAC should be used to deny users and service accounts `exec` access to Cilium agent pods. In cases where a user requires `exec` access to Cilium agent pods, but should not have access to the underlying node, no workaround is possible.
  • Initial Analysis by [email protected]

    Mar. 24, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
    Changed Reference Type https://github.com/cilium/cilium/pull/24075 No Types Assigned https://github.com/cilium/cilium/pull/24075 Third Party Advisory
    Changed Reference Type https://github.com/cilium/cilium/releases/tag/v1.11.15 No Types Assigned https://github.com/cilium/cilium/releases/tag/v1.11.15 Third Party Advisory
    Changed Reference Type https://github.com/cilium/cilium/releases/tag/v1.12.8 No Types Assigned https://github.com/cilium/cilium/releases/tag/v1.12.8 Third Party Advisory
    Changed Reference Type https://github.com/cilium/cilium/releases/tag/v1.13.1 No Types Assigned https://github.com/cilium/cilium/releases/tag/v1.13.1 Third Party Advisory
    Changed Reference Type https://github.com/cilium/cilium/security/advisories/GHSA-4hc4-pgfx-3mrx No Types Assigned https://github.com/cilium/cilium/security/advisories/GHSA-4hc4-pgfx-3mrx Third Party Advisory
    Changed Reference Type https://kubernetes.io/docs/reference/access-authn-authz/rbac/ No Types Assigned https://kubernetes.io/docs/reference/access-authn-authz/rbac/ Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:a:cilium:cilium:*:*:*:*:*:*:*:* versions up to (excluding) 1.11.15 *cpe:2.3:a:cilium:cilium:*:*:*:*:*:*:*:* versions from (including) 1.12.0 up to (excluding) 1.12.8 *cpe:2.3:a:cilium:cilium:*:*:*:*:*:*:*:* versions from (including) 1.13.0 up to (excluding) 1.13.1
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-27593 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2023-27593 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.04 }} 0.00%

score

0.14240

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability