GitHub Advisoryadvisory · Maven

GHSA-2m9w-9xh2-wxc3 Link Following in Jenkins Pipeline Multibranch Plugin

MEDIUM Published 2022-02-16 Modified 2023-05-24 Official page ↗
Aliases
CVE-2022-25179
Ecosystem
Maven
Packages
org.jenkins-ci.plugins.workflow:workflow-multibranch
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-59
Reviewed
2022-02-25

Affected packages

• Maven org.jenkins-ci.plugins.workflow:workflow-multibranch: >= 2.24, < 2.26.1 → fixed in 2.26.1 • Maven org.jenkins-ci.plugins.workflow:workflow-multibranch: < 2.23.1 → fixed in 2.23.1 • Maven org.jenkins-ci.plugins.workflow:workflow-multibranch: >= 696.v52535c46f4c9, < 696.698.v9b4218eea50f → fixed in 696.698.v9b4218eea50f • Maven org.jenkins-ci.plugins.workflow:workflow-multibranch: >= 706.vd43c65dec013, < 707.v71c3f0a → fixed in 707.v71c3f0a

Description

Jenkins Pipeline: Multibranch Plugin prior to 2.23.1, 2.26.1, 696.698.v9b4218eea50f, and 707.v71c3f0a_6ccdb_ follows symbolic links to locations outside of the checkout directory for the configured SCM when reading files using the readTrusted step, allowing attackers able to configure Pipelines permission to read arbitrary files on the Jenkins controller file system.

Related

Alias · CVE (1)

  • CVE-2022-25179 Jenkins Pipeline: Multibranch Plugin 706.vd43c65dec013 and earlier follows symbolic links to locations outside of the checkout directory… vulnerability

Weakness · CWE (1)

  • CWE-59 Improper Link Resolution Before File Access weakness

References