Sandbox Bypass Affecting org.jenkins-ci.plugins.workflow:workflow-cps-global-lib package, versions [,2.18.1)[2.19.0, 2.21.1)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.1% (44th 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-ORGJENKINSCIPLUGINSWORKFLOW-2407609
  • published21 Feb 2022
  • disclosed15 Feb 2022
  • creditUnknown

Introduced: 15 Feb 2022

CVE-2022-25182  (opens in a new tab)
CWE-265  (opens in a new tab)

How to fix?

Upgrade org.jenkins-ci.plugins.workflow:workflow-cps-global-lib to version 2.18.1, 2.21.1 or higher.

Overview

org.jenkins-ci.plugins.workflow:workflow-cps-global-lib is a plugin that provides capability to extend pipeline scripts using shared libraries.

Affected versions of this package are vulnerable to Sandbox Bypass by allowing attackers with Item/Configure permissions to execute arbitrary code on the Jenkins controller JVM using specially crafted library names if a global Pipeline library is already configured.

CVSS Scores

version 3.1