HIGH 8.8

CVE-2018-1000058

Arbitrary code execution due to incomplete sandbox protection in Pipeline: Supporting APIs Plugin

Description

Jenkins Pipeline: Supporting APIs Plugin 2.17 and earlier have an arbitrary code execution due to incomplete sandbox protection: Methods related to Java deserialization like readResolve implemented 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.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.jenkins-ci.plugins.workflow » workflow-support
< 2.18
2.18

Blast radius

1affected artifacts
66affected versions
238dependent artifacts (est.)
8,081dependent versions

36% of the dependent artifacts (87) still pull an affected version in their latest release.

DepthDependent versions
Direct
997
2 hops
4,609
3 hops
2,209
4 hops
144
5 hops
61
6 hops
61

Most used dependents

Computed from the dependency graph of build 20261127.1117 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

References

Advisorynvd.nist.gov
Webjenkins.io
Websecurityfocus.com