PT-2022-17118 · Jenkins · Jenkins Pipeline: Multibranch Plugin+1

Published

2022-02-15

·

Updated

2023-11-30

·

CVE-2022-25179

CVSS v3.1

6.5

Medium

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions Jenkins Pipeline: Multibranch Plugin versions 706.vd43c65dec013 and earlier Jenkins Pipeline: Multibranch Plugin prior to 2.23.1, 2.26.1, 696.698.v9b4218eea50f, and 707.v71c3f0a 6ccdb
Description The issue allows attackers with permission to configure Pipelines to read arbitrary files on the Jenkins controller file system. This is possible because the Jenkins Pipeline: Multibranch Plugin follows symbolic links to locations outside of the checkout directory for the configured SCM when reading files using the readTrusted step.
Recommendations For Jenkins Pipeline: Multibranch Plugin versions 706.vd43c65dec013 and earlier, update to a version later than 706.vd43c65dec013. For Jenkins Pipeline: Multibranch Plugin prior to 2.23.1, update to version 2.23.1 or later. For Jenkins Pipeline: Multibranch Plugin prior to 2.26.1, update to version 2.26.1 or later. For Jenkins Pipeline: Multibranch Plugin prior to 696.698.v9b4218eea50f, update to version 696.698.v9b4218eea50f or later. For Jenkins Pipeline: Multibranch Plugin prior to 707.v71c3f0a 6ccdb , update to version 707.v71c3f0a 6ccdb or later. As a temporary workaround, consider restricting access to the readTrusted step until a patch is available.

Exploit

Fix

Link Following

Weakness Enumeration

Related Identifiers

CVE-2022-25179
GHSA-2M9W-9XH2-WXC3
RHSA-2022:0871
RHSA-2022:1021
RHSA-2022:1025
RHSA-2022:1248
RHSA-2022:1420
RHSA-2022:1620

Affected Products

Jenkins
Jenkins Pipeline: Multibranch Plugin