CVE-2022-25173
Improper Neutralization of Special Elements used in an OS Command in Jenkins Pipeline: Groovy Plugin
8.8
HIGH
CVSS 3.1
EPSS 0.18%
Description
Jenkins Pipeline: Groovy Plugin prior to 2656.vf7a_e7b_75a_457, 2.94.1, and 2.92.1 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.
How to fix CVE-2022-25173
To remediate CVE-2022-25173, upgrade the affected package to a fixed version below.
- —upgrade to 2656.vf7a or later
Is CVE-2022-25173 being exploited?
Low — EPSS is 0.2%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- >= 2646.v6ed3b5b01ff1, < 2656.vf7a
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
References (5)
- ADVISORYnvd.nist.gov/vuln/detail/CVE-2022-25173
- WEBgithub.com/CVEProject/cvelist/blob/3615f493b8a36ff15735fb9d79c9dc9e0d542695/2022/25xxx/CVE-2022-25173.json
- WEBgithub.com/jenkinsci/workflow-cps-plugin/commit/f7ae7b75a457976853539bff1db52373b85fdb85
- WEBwww.jenkins.io/security/advisory/2022-02-15/#SECURITY-2463