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 :
Nov. 21, 2024, 8:25 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
6.0
Exploitability Score :
2.3
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
.
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 af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/garden-io/garden/commit/3117964da40d3114f129a6131b4ada89eaa4eb8c Added Reference https://github.com/garden-io/garden/security/advisories/GHSA-hm75-6vc9-8rpr -
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
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.14 }} -0.03%
score
0.49443
percentile