GitHub Advisoryadvisory · Maven

GHSA-qr42-82qj-mw65 Improper Limitation of a Pathname to a Restricted Directory in Jenkins

MEDIUM Published 2022-05-24 Modified 2024-03-12 Official page ↗
Aliases
CVE-2019-10352
Ecosystem
Maven
Packages
org.jenkins-ci.main:jenkins-core
Severity
Moderate
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Weaknesses
CWE-22
Reviewed
2022-06-28

Affected packages

• Maven org.jenkins-ci.main:jenkins-core: < 2.176.2 → fixed in 2.176.2 • Maven org.jenkins-ci.main:jenkins-core: >= 2.177, < 2.186 → fixed in 2.186

Description

A path traversal vulnerability in Jenkins 2.185 and earlier, LTS 2.176.1 and earlier in `core/src/main/java/hudson/model/FileParameterValue.java` allowed attackers with Job/Configure permission to define a file parameter with a file name outside the intended directory, resulting in an arbitrary file write on the Jenkins master when scheduling a build.

Related

Alias · CVE (1)

  • CVE-2019-10352 A path traversal vulnerability in Jenkins 2.185 and earlier, LTS 2.176.1 and earlier in… vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References