9.0
CRITICAL
CVE-2023-44392
Garden Kubernetes Configuration Map Deserialization Code Injection Vulnerability
Description

Garden provides automation for Kubernetes development and testing. Prior tov ersions 0.13.17 and 0.12.65, Garden has a dependency on the cryo library, which is vulnerable to code injection due to an insecure implementation of deserialization. Garden stores serialized objects using cryo in the Kubernetes `ConfigMap` resources prefixed with `test-result` and `run-result` to cache Garden test and run results. These `ConfigMaps` are stored either in the `garden-system` namespace or the configured user namespace. When a user invokes the command `garden test` or `garden run` objects stored in the `ConfigMap` are retrieved and deserialized. This can be used by an attacker with access to the Kubernetes cluster to store malicious objects in the `ConfigMap`, which can trigger a remote code execution on the users machine when cryo deserializes the object. In order to exploit this vulnerability, an attacker must have access to the Kubernetes cluster used to deploy garden remote environments. Further, a user must actively invoke either a `garden test` or `garden run` which has previously cached results. The issue has been patched in Garden versions `0.13.17` (Bonsai) and `0.12.65` (Acorn). Only Garden versions prior to these are vulnerable. No known workarounds are available.

INFO

Published Date :

Oct. 9, 2023, 8:15 p.m.

Last Modified :

Oct. 16, 2023, 6:08 p.m.

Remotely Exploitable :

Yes !

Impact Score :

6.0

Exploitability Score :

2.3
Affected Products

The following products are affected by CVE-2023-44392 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 Garden garden
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-44392.

URL Resource
https://github.com/garden-io/garden/commit/3117964da40d3114f129a6131b4ada89eaa4eb8c Patch
https://github.com/garden-io/garden/security/advisories/GHSA-hm75-6vc9-8rpr Vendor 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-44392 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-44392 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
  • Initial Analysis by [email protected]

    Oct. 16, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
    Changed Reference Type https://github.com/garden-io/garden/commit/3117964da40d3114f129a6131b4ada89eaa4eb8c No Types Assigned https://github.com/garden-io/garden/commit/3117964da40d3114f129a6131b4ada89eaa4eb8c Patch
    Changed Reference Type https://github.com/garden-io/garden/security/advisories/GHSA-hm75-6vc9-8rpr No Types Assigned https://github.com/garden-io/garden/security/advisories/GHSA-hm75-6vc9-8rpr Vendor Advisory
    Added CPE Configuration OR *cpe:2.3:a:garden:garden:*:*:*:*:*:kubernetes:*:* versions up to (excluding) 0.12.65 *cpe:2.3:a:garden:garden:*:*:*:*:*:kubernetes:*:* versions from (including) 0.13.0 up to (excluding) 0.13.17
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-44392 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-44392 weaknesses.

Exploit Prediction

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

0.09 }} 0.01%

score

0.40184

percentile

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