GitHub Advisoryadvisory · Maven

GHSA-q58j-fhj7-j6fg Path traversal vulnerability in Jenkins Subversion Plugin allows reading arbitrary files

MEDIUM Published 2022-05-24 Modified 2022-12-16 Official page ↗
Aliases
CVE-2021-21698
Ecosystem
Maven
Packages
org.jenkins-ci.plugins:subversion
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-22
Reviewed
2022-12-16

Affected packages

• Maven org.jenkins-ci.plugins:subversion: < 2.15.1 → fixed in 2.15.1

Description

Subversion Plugin 2.15.0 and earlier does not restrict the name of a file when looking up a subversion key file on the controller from an agent. This allows attackers able to control agent processes to read arbitrary files on the Jenkins controller file system. Subversion Plugin 2.15.1 checks for the presence of and prohibits directory separator characters as part of the file name, restricting it to the intended directory.

Related

Alias · CVE (1)

  • CVE-2021-21698 Jenkins Subversion Plugin 2.15.0 and earlier does not restrict the name of a file when looking up a subversion key file on the controller… vulnerability

Weakness · CWE (1)

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

References