Skip to content
OpenAdvisories
High · 8.8 Public exploit CVE-2019-1003005 EUVD-2022-5719GHSA-x5jm-rj37-5qh7

Sandbox Bypass in Script Security Plugin

Published Feb 6, 2019 · Updated Aug 5, 2024 · Assigned by jenkins

Description

A sandbox bypass vulnerability exists in Jenkins Script Security Plugin 1.50 and earlier in src/main/java/org/jenkinsci/plugins/scriptsecurity/sandbox/groovy/SecureGroovyScript.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.

Affected products

VendorProductAffectedFixed
Jenkins project Jenkins Script Security Plugin 1.50 and earlier —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Red Hat OpenShift 3 jenkins-2-plugins 3.11.1552336312-1.el7 RHSA-2019:0739

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 1 module

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.jenkins-ci.plugins:script-security < 1.51 1.51 GHSA-x5jm-rj37-5qh7

Advisories 1

References