Arbitrary File Read 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
medium
0
10

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

Threat Intelligence

EPSS
0.07% (31st 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 Arbitrary File Read vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGJENKINSCIPLUGINSWORKFLOW-2407605
  • published21 Feb 2022
  • disclosed15 Feb 2022
  • creditUnknown

Introduced: 15 Feb 2022

CVE-2022-25177  (opens in a new tab)
CWE-22  (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 Arbitrary File Read by following symbolic links to locations outside of the expected pipeline library when reading files using the libraryResource step, allowing attackers able to configure pipelines permission to read arbitrary files on the Jenkins controller file system.

CVSS Scores

version 3.1