Related Vulnerabilities: CVE-2022-25183  

Jenkins Pipeline: Shared Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier uses the names of Pipeline libraries to create cache directories without any sanitization, allowing attackers with Item/Configure permission to execute arbitrary code in the context of the Jenkins controller JVM using specially crafted library names if a global Pipeline library configured to use caching already exists.

Description

The MITRE CVE dictionary describes this issue as:

Jenkins Pipeline: Shared Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier uses the names of Pipeline libraries to create cache directories without any sanitization, allowing attackers with Item/Configure permission to execute arbitrary code in the context of the Jenkins controller JVM using specially crafted library names if a global Pipeline library configured to use caching already exists.

Additional Information

  • Bugzilla 2055802: CVE-2022-25183 workflow-cps-global-lib: Sandbox bypass vulnerability
  • CWE-20: Improper Input Validation
  • FAQ: Frequently asked questions about CVE-2022-25183