Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.jenkins-ci.plugins.workflow/workflow-cps-global-lib
  4. ›
  5. CVE-2022-25181

CVE-2022-25181: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

February 16, 2022 (updated June 20, 2022)

A sandbox bypass vulnerability in Jenkins Pipeline: Shared Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier allows attackers with Item/Configure permission to execute arbitrary code in the context of the Jenkins controller JVM through crafted SCM contents, if a global Pipeline library already exists.

References

  • github.com/advisories/GHSA-7w2w-fwpf-9m4h
  • nvd.nist.gov/vuln/detail/CVE-2022-25181
  • www.jenkins.io/security/advisory/2022-02-15/

Code Behaviors & Features

Detect and mitigate CVE-2022-25181 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 552.vd9cc05b8a2e1

Fixed versions

  • 561.va_ce0de3c2d69

Solution

Upgrade to version 561.va_ce0de3c2d69 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

maven/org.jenkins-ci.plugins.workflow/workflow-cps-global-lib/CVE-2022-25181.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:56 +0000.