Improper Control of Generation of Code ('Code Injection') The advisory has been revoked - it doesn't affect any version of package org.jenkins-ci.plugins.workflow:workflow-cps-parent  (opens in a new tab)


Threat Intelligence

EPSS
15.91% (96th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Control of Generation of Code ('Code Injection') vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGJENKINSCIPLUGINSWORKFLOW-6036541
  • published26 Oct 2023
  • disclosed25 Oct 2023
  • creditUnknown

Introduced: 25 Oct 2023

CVE-2019-1003002  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade org.jenkins-ci.plugins.workflow:workflow-cps-parent to version 2.62 or higher.

Amendment

This was deemed not a vulnerability.

Overview

Affected versions of this package are vulnerable to Improper Control of Generation of Code ('Code Injection') via the pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/parser/Converter.groovy function. An attacker can execute arbitrary code on the Jenkins master JVM by providing a pipeline script to an HTTP endpoint. This is only exploitable if the attacker has Overall/Read permission.