Skip to content
OpenAdvisories
High · 8.8 Public exploit CVE-2023-24422 EUVD-2023-0375GHSA-76qj-9gwh-pvv3

Sandbox bypass in Jenkins Script Security Plugin

Published Jan 24, 2023 · Updated Apr 2, 2025 · Assigned by jenkins

Description

A sandbox bypass vulnerability involving map constructors in Jenkins Script Security Plugin 1228.vd93135a_2fb_25 and earlier allows attackers with permission to define and run sandboxed scripts, including Pipelines, to bypass the sandbox protection and execute arbitrary code in the context of the Jenkins controller JVM.

Affected products

VendorProductAffectedFixed
Jenkins Project Jenkins Script Security Plugin unspecified – ≤ 1228.vd93135a_2fb_25 1175.1180.v36a_3fb_2dec9c

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 4 haproxy +1 2.2.19-4.el8 RHSA-2023:1655
Red Hat OpenShift 4 jenkins 2.387.1.1680701869-1.el8 RHSA-2023:1655
Red Hat OpenShift 4 jenkins-2-plugins 4.10.1680703106-1.el8 RHSA-2023:1655
Red Hat OpenShift 4 openshift +1 4.10.0-202303221742.p0.g16bcd69.assembly.stream.el7 RHSA-2023:1655
Red Hat Ocp Tools 4 jenkins 2.387.1.1683009763-3.el8 RHSA-2024:0778, RHSA-2024:0777, RHSA-2024:0776
Red Hat Ocp Tools 4 jenkins-2-plugins 4.11.1683009941-1.el8 RHSA-2024:0778, RHSA-2024:0777, RHSA-2024:0776

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.

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 < 1229.v4880b 1229.v4880b GHSA-76qj-9gwh-pvv3

Advisories 14

References