SB2019030709 - Security restrictions bypass in Jenkins Pipeline:Groovy plugin



SB2019030709 - Security restrictions bypass in Jenkins Pipeline:Groovy plugin

Published: March 7, 2019 Updated: October 7, 2019

Security Bulletin ID SB2019030709
Severity
Medium
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

Medium 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 security vulnerability.


1) Security restrictions bypass (CVE-ID: CVE-2019-1003030)

The vulnerability allows a remote attacker to execute arbitrary code on the vulnerable server.

The vulnerability exists in "pom.xml" and "src/mai/java/org/jenkinsci/plugins/workflow/cps/CpsGroovyShell.java" due to an error when parsing, compiling or instantiating a Groovy script. A remote attacker with the ability to control the contents of a pipeline can supply a specially crafted Groovy script, bypass the sandbox protection and execute arbitrary code on the Jenkins master.

Successful exploitation of the vulnerability may allow an attacker to compromise the affected server.


Remediation

Install update from vendor's website.