GHSA-xfwj-2f34-32f5

Suggest an improvement
Source
https://github.com/advisories/GHSA-xfwj-2f34-32f5
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-xfwj-2f34-32f5/GHSA-xfwj-2f34-32f5.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-xfwj-2f34-32f5
Aliases
Published
2022-05-13T01:15:21Z
Modified
2024-02-16T08:12:41.107622Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Jenkins Groovy Plugin sandbox bypass vulnerability
Details

A sandbox bypass vulnerability exists in Jenkins Groovy Plugin 2.0 and earlier in src/main/java/hudson/plugins/groovy/StringScriptSource.java that allows attackers with Overall/Read permission to provide a Groovy script to an HTTP endpoint that can result in arbitrary code execution on the Jenkins master JVM. In version 2.1, the affected HTTP endpoint applies a safe Groovy compiler configuration preventing the use of unsafe AST transforming annotations.

References

Affected packages

Maven / org.jenkins-ci.plugins:groovy

Package

Name
org.jenkins-ci.plugins:groovy
View open source insights on deps.dev
Purl
pkg:maven/org.jenkins-ci.plugins/groovy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.1

Affected versions

1.*

1.9
1.10
1.11
1.12
1.13
1.14
1.15
1.16
1.17
1.18
1.19
1.20
1.21
1.22
1.23
1.24
1.25
1.26
1.27
1.29
1.30

2.*

2.0

Database specific

{
    "last_known_affected_version_range": "<= 2.0"
}