Lucene search

K
osvGoogleOSV:GHSA-X6JX-CXG3-MGGH
HistoryMay 13, 2022 - 1:15 a.m.

Jenkins Pipeline Declarative Plugin sandbox bypass vulnerability

2022-05-1301:15:20
Google
osv.dev
6

7.6 High

AI Score

Confidence

Low

0.555 Medium

EPSS

Percentile

97.7%

Jenkins Script Security sandbox protection could be circumvented during the script compilation phase by applying AST transforming annotations such as @Grab to source code elements.

Both the pipeline validation REST APIs and actual script/pipeline execution are affected.

This allowed users with Overall/Read permission, or able to control Jenkinsfile or sandboxed Pipeline shared library contents in SCM, to bypass the sandbox protection and execute arbitrary code on the Jenkins controller.

All known unsafe AST transformations in Groovy are now prohibited in sandboxed scripts.

7.6 High

AI Score

Confidence

Low

0.555 Medium

EPSS

Percentile

97.7%