Skip to main content
← All vulnerabilities
CVE-2022-25173GHSA-4M7P-55JM-3VWV

Jenkins Pipeline: Groovy Plugin 2648.va9433432b33c and earlier uses the same checkout directories for distinct SCMs when reading the script

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2656.vf7a, 2.94.1, 2.92.1
1 proof of concept on GitHub

Summary

Jenkins Pipeline: Groovy Plugin 2648.va9433432b33c and earlier uses the same checkout directories for distinct SCMs when reading the script file (typically Jenkinsfile) for Pipelines, 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: Groovy Plugin

    through 2648.va9433432b33c

  • org.jenkins-ci.plugins.workflow:workflow-cpsMaven

    From 2646.v6ed3b5b01ff1 · fixed in 2656.vf7a

  • org.jenkins-ci.plugins.workflow:workflow-cpsMaven

    From 2.93 · fixed in 2.94.1

  • org.jenkins-ci.plugins.workflow:workflow-cpsMaven

    fixed in 2.92.1

References 3

jenkins.io

openwall.com

GitHub · shoucheng3/jenkinsci__workflow-cps-plugin_CVE-2022-25173_2646-v6ed3b5b01ff1