Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.jenkins-ci.plugins.workflow/workflow-cps-global-lib
  4. ›
  5. CVE-2022-25178

CVE-2022-25178: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

February 16, 2022 (updated June 20, 2022)

Jenkins Pipeline: Shared Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier does not restrict the names of resources passed to the libraryResource step, allowing attackers able to configure Pipelines permission to read arbitrary files on the Jenkins controller file system.

References

  • github.com/advisories/GHSA-5hfv-mg5x-mv32
  • nvd.nist.gov/vuln/detail/CVE-2022-25178
  • www.jenkins.io/security/advisory/2022-02-15/

Code Behaviors & Features

Detect and mitigate CVE-2022-25178 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 552.vd9cc05b8a2e1

Fixed versions

  • 561.va_ce0de3c2d69

Solution

Upgrade to version 561.va_ce0de3c2d69 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

maven/org.jenkins-ci.plugins.workflow/workflow-cps-global-lib/CVE-2022-25178.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:18 +0000.