Access Restriction Bypass Affecting org.kohsuke:groovy-sandbox package, versions [,1.20)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.64% (76th 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-ORGKOHSUKE-72667
  • published10 Dec 2018
  • disclosed10 Dec 2018
  • creditMan Yue Mo

Introduced: 10 Dec 2018

CVE-2018-1000865  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade org.kohsuke:groovy-sandbox to version 1.20 or higher.

Overview

org.kohsuke:groovy-sandbox is a Compile-time transformer to run Groovy code in a restrictive sandbox.

Affected versions of this package are vulnerable to Access Restriction Bypass via the org/kohsuke/groovy/sandbox/SandboxTransformer.java method. An attacker with Job/Configure permission could execute arbitrary code on the Jenkins master JVM, if plugins using the Groovy sandbox are installed.

CVSS Base Scores

version 3.1