CVE-2022-25182
Java vulnerability analysis and mitigation

Overview

A sandbox bypass vulnerability (CVE-2022-25182) was discovered in Jenkins Pipeline: Shared Groovy Libraries Plugin version 552.vd9cc05b8a2e1 and earlier. The vulnerability was disclosed on February 15, 2022, affecting the Jenkins Pipeline plugin system. The issue stems from the plugin using library names to create directories without proper canonicalization or sanitization (Jenkins Advisory).

Technical details

The vulnerability exists because the Pipeline: Deprecated Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier versions use Pipeline library names to create directories without implementing proper canonicalization or sanitization measures. The vulnerability has been assigned a CVSS v3.1 base score of 8.8 (HIGH) with the vector string: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

This vulnerability allows attackers with Item/Configure permission to execute arbitrary code in the context of the Jenkins controller JVM. The attack is possible when a global Pipeline library is already configured in the system (Jenkins Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Pipeline: Deprecated Groovy Libraries Plugin version 561.va_ce0de3c2d69, which implements proper sanitization of Pipeline library names when creating library directories. Users are advised to upgrade to this version or later to address the security issue (Jenkins Advisory).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-26866HIGH8.8
  • JavaJava
  • org.apache.hugegraph:hg-pd-core
NoYesDec 12, 2025
CVE-2025-54981HIGH7.5
  • JavaJava
  • org.apache.streampark:streampark
NoYesDec 12, 2025
CVE-2025-67721MEDIUM6.3
  • JavaJava
  • io.airlift:aircompressor-v3
NoYesDec 12, 2025
CVE-2025-53960MEDIUM5.9
  • JavaJava
  • org.apache.streampark:streampark
NoYesDec 12, 2025
CVE-2025-54947MEDIUM5.3
  • JavaJava
  • org.apache.streampark:streampark
NoYesDec 12, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management