Lucene search

K
githubGitHub Advisory DatabaseGHSA-GQHM-4H93-RRHG
HistoryMay 13, 2022 - 1:48 a.m.

Jenkins Script Security and Pipeline Groovy Plugins Sandbox Bypass

2022-05-1301:48:40
CWE-269
GitHub Advisory Database
github.com
5
jenkins
script security
pipeline groovy
sandbox bypass
vulnerability
arbitrary code
jvm

CVSS2

6.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:S/C:P/I:P/A:P

CVSS3

8.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

AI Score

8

Confidence

High

EPSS

0.003

Percentile

71.2%

A sandbox bypass vulnerability exists in Pipeline: Groovy Plugin 2.59 and earlier in groovy-sandbox/src/main/java/org/kohsuke/groovy/sandbox/SandboxTransformer.java, groovy-cps/lib/src/main/java/com/cloudbees/groovy/cps/SandboxCpsTransformer.java that allows attackers with Job/Configure permission, or unauthorized attackers with SCM commit privileges and corresponding pipelines based on Jenkinsfiles set up in Jenkins, to execute arbitrary code on the Jenkins master JVM

Affected configurations

Vulners
Node
org.jenkins-ci.pluginsscript-securityRange<1.48
OR
org.jenkins-ci.plugins.workflowworkflow-cpsRange<2.60
VendorProductVersionCPE
org.jenkins-ci.pluginsscript-security*cpe:2.3:a:org.jenkins-ci.plugins:script-security:*:*:*:*:*:*:*:*
org.jenkins-ci.plugins.workflowworkflow-cps*cpe:2.3:a:org.jenkins-ci.plugins.workflow:workflow-cps:*:*:*:*:*:*:*:*

CVSS2

6.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:S/C:P/I:P/A:P

CVSS3

8.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

AI Score

8

Confidence

High

EPSS

0.003

Percentile

71.2%

Related for GHSA-GQHM-4H93-RRHG