CVE-2020-2121
Description
Jenkins Google Kubernetes Engine Plugin 0.8.0 and earlier unsafely parses YAML, allowing remote attackers to execute arbitrary code on the Jenkins controller.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Jenkins Google Kubernetes Engine Plugin 0.8.0 and earlier unsafely parses YAML, allowing remote attackers to execute arbitrary code on the Jenkins controller.
Vulnerability: Unsafe YAML Deserialization
Jenkins Google Kubernetes Engine Plugin versions 0.8.0 and earlier fail to securely configure their YAML parser, which allows the instantiation of arbitrary Java types during deserialization [1][3]. This root cause is a classic unsafe deserialization vulnerability, where user-supplied YAML input is parsed without restrictions on the types that can be created. The plugin does not enable features like Yaml.addTypeDescription restrictions or enable the NoArgConstructor check to prevent arbitrary object creation.
Exploitation
Prerequisites
An attacker can exploit this weakness by providing a malicious YAML payload to the plugin through any channel that the plugin processes as YAML input. The attack requires the attacker to have the ability to send crafted data to an instance where the plugin is installed and used—often this can be performed by a user with access to a Jenkins job that uses the Google Kubernetes Engine build step. No authentication is strictly needed if the plugin is exposed in an unauthenticated endpoint, as per typical Jenkins configurations [2]. The vulnerability is remotely exploitable without requiring prior authentication.
Impact
Successful exploitation results in remote code execution (RCE) on the Jenkins controller [1][3]. This means an attacker can execute arbitrary commands or deploy malicious code on the server, effectively gaining full control over the Jenkins instance and any systems it manages, including Kubernetes clusters configured for deployment.
Mitigation
Jenkins has released Google Kubernetes Engine Plugin version 0.8.1, which fixes the vulnerability by configuring the YAML parser with a whitelist of allowed types [1][2]. Users are strongly advised to upgrade to the latest version immediately. No workarounds are documented; upgrading is the only effective mitigation. The vulnerability has a CVSS score of critical, reflecting the high risk of full server compromise.
AI Insight generated on May 21, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.jenkins-ci.plugins:google-kubernetes-engineMaven | < 0.8.1 | 0.8.1 |
Affected products
2- Range: unspecified
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
4- github.com/advisories/GHSA-wf76-qgqq-gcfjghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2020-2121ghsaADVISORY
- www.openwall.com/lists/oss-security/2020/02/12/3ghsamailing-listx_refsource_MLISTWEB
- jenkins.io/security/advisory/2020-02-12/ghsax_refsource_CONFIRMWEB
News mentions
1- Jenkins Security Advisory 2020-02-12Jenkins Security Advisories · Feb 12, 2020