Improper Neutralization of Special Elements used in an OS Command in Jenkins Pipeline: Shared Groovy Libraries Plugin

Jenkins Pipeline: Shared Groovy Libraries Plugin prior to 561.va_ce0de3c2d69, 2.21.1, and 2.18.1 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.

Vulnerability ID: GHSA-g9fx-6j5c-grmw
Aliases: CVE-2022-25174
Published: 2022-02-16 00:01:36
CWE: CWE-78
Severity rating: HIGH
CVSS: type: CVSS_V3
score: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected packages:
package: ecosystem: Maven
name: org.jenkins-ci.plugins.workflow:workflow-cps-global-lib
package: ecosystem: Maven
name: org.jenkins-ci.plugins.workflow:workflow-cps-global-lib
package: ecosystem: Maven
name: org.jenkins-ci.plugins.workflow:workflow-cps-global-lib