Arbitrary Code Execution Affecting org.jenkins-ci.plugins:script-security package, versions [,1.5.3)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.42% (75th 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 IDSNYK-JAVA-ORGJENKINSCIPLUGINS-173716
  • published21 Feb 2019
  • disclosed20 Feb 2019
  • creditDaniel Beck, CloudBees, Inc.

Introduced: 20 Feb 2019

CVE-2019-1003024  (opens in a new tab)
CWE-265  (opens in a new tab)

How to fix?

Upgrade org.jenkins-ci.plugins:script-security to version 1.5.3 or higher.

Overview

org.jenkins-ci.plugins:script-security package that allows Jenkins administrators to control what in-process scripts can be run by less-privileged users.

Affected versions of this package are vulnerable to Arbitrary Code Execution in RejectASTTransformsCustomizer.java. It is possible for attackers with Overall/Read permission to provide a Groovy script to an HTTP endpoint that can result in arbitrary code execution on the Jenkins master JVM.

CVSS Scores

version 3.1