GitHub Advisoryadvisory · Maven

GHSA-g9fx-6j5c-grmw Improper Neutralization of Special Elements used in an OS Command in Jenkins Pipeline: Shared Groovy Libraries Plugin

HIGH Published 2022-02-16 Modified 2023-05-25 Official page ↗
Aliases
CVE-2022-25174
Ecosystem
Maven
Packages
org.jenkins-ci.plugins.workflow:workflow-cps-global-lib
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-78
Reviewed
2022-06-20

Affected packages

• Maven org.jenkins-ci.plugins.workflow:workflow-cps-global-lib: >= 544.vff04fa68714d, < 561.va → fixed in 561.va • Maven org.jenkins-ci.plugins.workflow:workflow-cps-global-lib: >= 2.19, < 2.21.1 → fixed in 2.21.1 • Maven org.jenkins-ci.plugins.workflow:workflow-cps-global-lib: < 2.18.1 → fixed in 2.18.1

Description

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.

Related

Alias · CVE (1)

  • CVE-2022-25174 Jenkins Pipeline: Shared Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier uses the same checkout directories for distinct SCMs for… vulnerability

Weakness · CWE (1)

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness

References