Skip to main content
← All vulnerabilities
CVE-2022-25178GHSA-5HFV-MG5X-MV32

Jenkins Pipeline: Shared Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier does not restrict the names of resources passed to the librar

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 561.va_ce0de3c2d69, 2.21.1, 2.18.1
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Jenkins project Jenkins Pipeline: Shared Groovy Libraries Plugin

    through 552.vd9cc05b8a2e1

  • org.jenkins-ci.plugins.workflow:workflow-cps-global-libMaven

    From 2.22 · fixed in 561.va_ce0de3c2d69

  • org.jenkins-ci.plugins.workflow:workflow-cps-global-libMaven

    From 2.19 · fixed in 2.21.1

  • org.jenkins-ci.plugins.workflow:workflow-cps-global-libMaven

    fixed in 2.18.1

References 1

jenkins.io