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.
CVE-2023-24422 - High Severity Vulnerability
Vulnerable Library - script-security-1.54.jar
Allows Jenkins administrators to control what in-process scripts can be run by less-privileged users.
Library home page: https://wiki.jenkins.io/display/JENKINS/Script+Security+Plugin
Path to dependency file: /test/pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/jenkins-ci/plugins/script-security/1.54/script-security-1.54.jar
Dependency Hierarchy: - matrix-project-1.14.jar (Root Library) - :x: **script-security-1.54.jar** (Vulnerable Library)
Found in HEAD commit: 3abfb254ea347629c1aed893510d133a3831c30e
Found in base branch: master
Vulnerability Details
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.
Publish Date: 2023-01-26
URL: CVE-2023-24422
CVSS 3 Score Details (8.8)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Local - Attack Complexity: Low - Privileges Required: Low - User Interaction: None - Scope: Changed - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://www.jenkins.io/security/advisory/2023-01-24/#SECURITY-3016
Release Date: 2023-01-26
Fix Resolution: org.jenkins-ci.plugins:script-security:1229.v4880b_b_e905a_6
Step up your Open Source Security Game with Mend here