CVE-2019-10417: Kubernetes pipeline steps : Pipeline :: Kubernetes Steps Vulnerability

CRITICAL
Advisory Identifier: GHSA-ccxh-j7hg-m5mr
CVSS 9.9
CWE-183 CWE-863
Published
Advisory Summary

CVE-2019-10417 is a CRITICAL (CVSS 9.9) : pipeline :: kubernetes steps vulnerability (CWE-183: Permissive List of Allowed Inputs) affecting Kubernetes pipeline steps libraries in the Maven ecosystem. The issue involves : pipeline :: kubernetes steps plugin. Remediation is available in the latest vendor maintenance releases.

CVE-2019-10417 at a Glance

CVE Identifier CVE-2019-10417
GHSA Identifier GHSA-ccxh-j7hg-m5mr
Severity CRITICAL
CVSS v3.1 Base Score 9.9
CWE Classification CWE-183: Permissive List of Allowed Inputs
Affected Product Kubernetes pipeline steps
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 9.9

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2019-10417

To remediate this vulnerability, upgrade all affected Kubernetes pipeline steps dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

io.fabric8.pipeline:kubernetes-pipeline-steps fixed: Latest secure release
<dependency>
    <groupId>io.fabric8.pipeline</groupId>
    <artifactId>kubernetes-pipeline-steps</artifactId>
    <version>Latest secure release</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=io.fabric8.pipeline

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2019-10417, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=io.fabric8.pipeline

Analyze the terminal output to locate any version of Kubernetes pipeline steps in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The mvn dependency:tree -Dincludes=io.fabric8.pipeline command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-183: Permissive List of Allowed Inputs, where the product implements a protection mechanism that relies on a list of inputs (or properties of inputs) that are explicitly allowed by policy because the inputs are assumed to be safe, but the list is too permissive - that is, it allows an input that is unsafe, leading to resultant weaknesses. In Kubernetes pipeline steps, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Jenkins Kubernetes :: Pipeline :: Kubernetes Steps Plugin provides a custom whitelist for script security that allowed attackers to invoke arbitrary methods, bypassing typical sandbox protection.

CVE-2019-10417 Affected Kubernetes pipeline steps Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
io.fabric8.pipeline:kubernetes-pipeline-steps
Maven
≤ 1.6

References

Frequently Asked Questions

What is CVE-2019-10417?
CVE-2019-10417 is a security vulnerability in Kubernetes pipeline steps involving : Pipeline :: Kubernetes Steps Plugin under CWE-183: Permissive List of Allowed Inputs.
Which Kubernetes pipeline steps versions are affected?
Affected versions include releases prior to current release patches across affected packages: io.fabric8.pipeline:kubernetes-pipeline-steps.
What version fixes CVE-2019-10417?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is kubernetes-pipeline-steps affected?
Yes, io.fabric8.pipeline:kubernetes-pipeline-steps is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2019-10417?
CVE-2019-10417 has a CVSS v3.1 base score of 9.9 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H.
What CWE is associated with CVE-2019-10417?
CVE-2019-10417 is classified under CWE-183: Permissive List of Allowed Inputs (The product implements a protection mechanism that relies on a list of inputs (or properties of inputs) that are explicitly allowed by policy because the inputs are assumed to be safe, but the list is too permissive - that is, it allows an input that is unsafe, leading to resultant weaknesses.).
How can I check Maven dependencies for CVE-2019-10417?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=io.fabric8.pipeline'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-ccxh-j7hg-m5mr",
  "modified" : "2023-07-17T21:18:47Z",
  "published" : "2022-05-24T16:56:46Z",
  "aliases" : [ "CVE-2019-10417" ],
  "summary" : "Incorrect Authorization in Jenkins Kubernetes :: Pipeline :: Kubernetes Steps Plugin",
  "details" : "Jenkins Kubernetes :: Pipeline :: Kubernetes Steps Plugin provides a custom whitelist for script security that allowed attackers to invoke arbitrary methods, bypassing typical sandbox protection.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "io.fabric8.pipeline:kubernetes-pipeline-steps"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "1.6"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-10417"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/jenkinsci/kubernetes-pipeline-plugin/blob/master/kubernetes-steps"
  }, {
    "type" : "WEB",
    "url" : "https://jenkins.io/security/advisory/2019-09-25/#SECURITY-920%20(1)"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2019/09/25/3"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-183", "CWE-863" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-09-08T22:42:36Z",
    "nvd_published_at" : "2019-09-25T16:15:00Z"
  }
}