Skip to content
OpenAdvisories
High · 8.8 Scanner template Public exploit CVE-2019-1003000 EUVD-2022-2948GHSA-784j-h234-m56x

Protection Mechanism Failure in Jenkins Script Security Plugin

Published Jan 22, 2019 · Updated Aug 5, 2024 · Assigned by jenkins

Description

A sandbox bypass vulnerability exists in Script Security Plugin 1.49 and earlier in src/main/java/org/jenkinsci/plugins/scriptsecurity/sandbox/groovy/GroovySandbox.java that allows attackers with the ability to provide sandboxed scripts to execute arbitrary code on the Jenkins master JVM.

Affected products

VendorProductAffectedFixed
Jenkins project Script Security Plugin 1.49 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 atomic-enterprise-service-catalog +1 1:3.11.82-1.git.1673.133961e.el7 RHBA-2019:0326
Red Hat OpenShift 3 atomic-openshift +12 3.11.82-1.git.0.08bc31b.el7 RHBA-2019:0326
Red Hat OpenShift 3 atomic-openshift-cluster-autoscaler 3.11.82-1.git.0.efb6af0.el7 RHBA-2019:0326
Red Hat OpenShift 3 atomic-openshift-descheduler 3.11.82-1.git.300.89765c9.el7 RHBA-2019:0326
Red Hat OpenShift 3 atomic-openshift-dockerregistry 3.11.82-1.git.452.0ce6383.el7 RHBA-2019:0326
Red Hat OpenShift 3 atomic-openshift-metrics-server 3.11.82-1.git.52.2fdca3f.el7 RHBA-2019:0326
Red Hat OpenShift 3 atomic-openshift-node-problem-detector 3.11.82-1.git.254.a448936.el7 RHBA-2019:0326
Red Hat OpenShift 3 atomic-openshift-service-idler 3.11.82-1.git.14.e353758.el7 RHBA-2019:0326
Red Hat OpenShift 3 atomic-openshift-web-console 3.11.82-1.git.355.5e8b1d9.el7 RHBA-2019:0326
Red Hat OpenShift 3 golang-github-openshift-oauth-proxy 3.11.82-1.git.425.7cac034.el7 RHBA-2019:0326
Red Hat OpenShift 3 haproxy +1 1.8.17-3.el7 RHBA-2019:0326
Red Hat OpenShift 3 jenkins 2.150.2.1549032159-1.el7 RHBA-2019:0326
Red Hat OpenShift 3 jenkins-2-plugins 3.11.1549642489-1.el7 RHBA-2019:0326
Red Hat OpenShift 3 openshift-ansible +4 3.11.82-3.git.0.9718d0a.el7 RHBA-2019:0326
Red Hat OpenShift 3 openshift-enterprise-autoheal 3.11.82-1.git.219.0b5aff4.el7 RHBA-2019:0326
Red Hat OpenShift 3 openshift-enterprise-cluster-capacity 3.11.82-1.git.380.cf11c51.el7 RHBA-2019:0326
Red Hat OpenShift 3 prometheus +1 3.11.82-1.git.5027.9d24833.el7 RHBA-2019:0326
Red Hat OpenShift 3 prometheus-alertmanager +1 3.11.82-1.git.0.3bf41ce.el7 RHBA-2019:0326
Red Hat OpenShift 3 prometheus-node-exporter +1 3.11.82-1.git.1063.48444e8.el7 RHBA-2019:0326

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

GitHub 5 repositories

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

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.jenkins-ci.plugins:script-security < 1.50 1.50 GHSA-784j-h234-m56x

Advisories 1

References