PT-2019-11304 · Jenkins · Jenkins Groovy Plugin+1
Published
2019-02-06
·
Updated
2023-10-25
·
CVE-2019-1003006
CVSS v3.1
8.8
High
| Vector | AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions:
Jenkins Groovy Plugin versions 2.0 and earlier
Description:
A sandbox bypass issue allows attackers with Overall/Read permission to provide a Groovy script to an HTTP endpoint, resulting in arbitrary code execution on the Jenkins master JVM. The issue is related to the
src/main/java/hudson/plugins/groovy/StringScriptSource.java file. In version 2.1, the affected HTTP endpoint applies a safe Groovy compiler configuration, preventing the use of unsafe AST transforming annotations.Recommendations:
For Jenkins Groovy Plugin versions 2.0 and earlier, update to version 2.1 or later to apply a safe Groovy compiler configuration that prevents the use of unsafe AST transforming annotations.
As a temporary workaround, consider restricting access to the HTTP endpoint that allows Groovy script execution until a patch is available.
Fix
Missing Authorization
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Jenkins
Jenkins Groovy Plugin