CVE-2019-1003001
Jenkins Groovy Plugin sandbox bypass vulnerability
Description
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.
How to fix CVE-2019-1003001
To remediate CVE-2019-1003001, upgrade the affected package to a fixed version below.
- —upgrade to 1.3.4.1 or later
- —upgrade to 1.50 or later
- —upgrade to 2.61.1 or later
Is CVE-2019-1003001 being exploited?
Likely — EPSS is 93.9%, placing CVE-2019-1003001 in the top tier of vulnerabilities by exploitation probability. Prioritise patching.
Affected packages (3)
- from 0, < 1.3.4.1
- from 0, < 1.50
- from 0, < 2.61.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |