Description
A sandbox bypass vulnerability exists in Jenkins Job DSL Plugin 1.71 and earlier in job-dsl-core/src/main/groovy/javaposse/jobdsl/dsl/AbstractDslScriptLoader.groovy, job-dsl-plugin/build.gradle, job-dsl-plugin/src/main/groovy/javaposse/jobdsl/plugin/JobDslWhitelist.groovy, job-dsl-plugin/src/main/groovy/javaposse/jobdsl/plugin/SandboxDslScriptLoader.groovy that allows attackers with control over Job DSL definitions to execute arbitrary code on the Jenkins master JVM.
Remediation
References
https://jenkins.io/security/advisory/2019-03-06/#SECURITY-1342
http://www.securityfocus.com/bid/107476
https://access.redhat.com/errata/RHSA-2019:0739
Related Vulnerabilities
CVE-2023-34459 Vulnerability in npm package @openzeppelin/contracts-upgradeable
CVE-2020-7238 Vulnerability in maven package io.netty:netty-codec-http
CVE-2019-5448 Vulnerability in npm package yarn
CVE-2022-45392 Vulnerability in maven package io.jenkins.plugins:cavisson-ns-nd-integration
CVE-2022-31198 Vulnerability in maven package org.webjars.npm:openzeppelin__contracts-upgradeable