Skip to main content
← All vulnerabilities
CVE-2022-25174GHSA-G9FX-6J5C-GRMW

Jenkins Pipeline: Shared Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier uses the same checkout directories for distinct SCMs for Pipe

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 561.va, 2.21.1, 2.18.1
1 proof of concept on GitHub

Summary

Jenkins Pipeline: Shared Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier uses the same checkout directories for distinct SCMs for Pipeline libraries, allowing attackers with Item/Configure permission to invoke arbitrary OS commands on the controller through crafted SCM contents.

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 544.vff04fa68714d · fixed in 561.va

  • 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 2

jenkins.io

GitHub · shoucheng3/jenkinsci__workflow-cps-global-lib-plugin_CVE-2022-25174_544-vff04fa68714d