{"id":"CVE-2019-1003024","aliases":["CVE-2019-1003024","GHSA-jgpm-2862-q5m8"],"related":[],"kind":"vulnerability","state":"published","title":"Jenkins Script Security Plugin sandbox bypass vulnerability","summary":"A sandbox bypass vulnerability exists in Jenkins Script Security Plugin 1.52 and earlier in RejectASTTransformsCustomizer.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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A sandbox bypass vulnerability exists in Jenkins Script Security Plugin 1.52 and earlier in RejectASTTransformsCustomizer.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.","source":"cvelist"},{"lang":"en","text":"The previously implemented script security sandbox protections prohibiting the use of unsafe AST transforming annotations such as `@Grab` ([2019-01-08 fix for SECURITY-1266](https://www.jenkins.io/security/advisory/2019-01-08/#SECURITY-1266)) could be circumvented through use of various Groovy language features:\n\n- Use of `AnnotationCollector`\n- Import aliasing\n- Referencing annotation types using their full class name\n\nThis allowed users with Overall/Read permission, or the ability to control Jenkinsfile or sandboxed Pipeline shared library contents in SCM, to bypass the sandbox protection and execute arbitrary code on the Jenkins controller.\n\nUsing `AnnotationCollector` is now newly prohibited in sandboxed scripts such as Pipelines. Importing any of the annotations considered unsafe will now result in an error. During the compilation phase, both simple and full class names of prohibited annotations are rejected for element annotations.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Existe una vulnerabilidad de omisión de sandbox en Jenkins Script Security Plugin, en versiones 1.52 y anteriores, en RejectASTTransformsCustomizer.java, que permite que los atacantes con permisos Overall/Read proporcionen un script de Groovy a un endpoint HTTP que puede resultar en la ejecución de código arbitrario en el JVM maestro de Jenkins.","source":"nvd"}],"published":"2019-02-20T21:00:00.000Z","modified":"2026-06-17T02:09:33.713Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","score":6.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"version":"1.52 and earlier","status":"affected"}],"vendor":"Jenkins project","product":"Jenkins Script Security Plugin","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.53"}],"ecosystem":"Maven","package":"org.jenkins-ci.plugins:script-security","purl":"pkg:maven/org.jenkins-ci.plugins/script-security","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"1.52"}],"vendor":"jenkins","product":"script_security","cpe":"cpe:2.3:a:jenkins:script_security:*:*:*:*:*:jenkins:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"3.11"}],"vendor":"redhat","product":"openshift_container_platform","cpe":"cpe:2.3:a:redhat:openshift_container_platform:3.11:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://jenkins.io/security/advisory/2019-02-19/#SECURITY-1320","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://www.securityfocus.com/bid/107295","tags":["third-party-advisory","vdb-entry","x-refsource-bid","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2019:0739","tags":["third-party-advisory","vendor-advisory","web","x-refsource-redhat","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-1003024","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/jenkinsci/script-security-plugin/commit/3228c88e84f0b2f24845b6466cae35617e082059","tags":["web"],"sources":["ghsa"]},{"url":"https://web.archive.org/web/20200227084947/http://www.securityfocus.com/bid/107295","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"jenkins","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2019-1003024","url":"https://www.cve.org/CVERecord?id=CVE-2019-1003024","licence":"CVE Terms of Use","modified":"2024-08-05T03:00:19.284Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jgpm-2862-q5m8","url":"https://github.com/advisories/GHSA-jgpm-2862-q5m8","licence":"CC-BY-4.0","modified":"2024-12-07T05:38:11.752Z"},{"source":"nvd","name":"NVD","id":"CVE-2019-1003024","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-1003024","licence":"Public domain","modified":"2026-06-17T02:09:33.713Z"}],"updatedAt":"2026-11-25T22:57:43.848Z","epss":{"score":0.03074,"percentile":0.88008,"date":"2026-12-01T12:00:22.000Z"}}