Skip to content

Arbitrary code execution due to incomplete sandbox protection in Jenkins Pipeline

High severity GitHub Reviewed Published May 13, 2022 to the GitHub Advisory Database • Updated Jan 30, 2024

Package

maven org.jenkins-ci.plugins.workflow:workflow-cps (Maven)

Affected versions

<= 2.36

Patched versions

2.36.1

Description

Arbitrary code execution due to incomplete sandbox protection: Constructors, instance variable initializers, and instance initializers in Pipeline scripts were not subject to sandbox protection, and could therefore execute arbitrary code. This could be exploited e.g. by regular Jenkins users with the permission to configure Pipelines in Jenkins, or by trusted committers to repositories containing Jenkinsfiles.

References

Published by the National Vulnerability Database Oct 5, 2017
Published to the GitHub Advisory Database May 13, 2022
Reviewed Jan 30, 2024
Last updated Jan 30, 2024

Severity

High
8.8
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2017-1000096

GHSA ID

GHSA-mhwq-4mh7-fv7c

Source code

No known source code
Checking history
See something to contribute? Suggest improvements for this vulnerability.