MODERATE 6.5

CVE-2021-21698

Path traversal vulnerability in Jenkins Subversion Plugin allows reading arbitrary files

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.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.jenkins-ci.plugins » subversion
< 2.15.1
2.15.1

Blast radius

1affected artifacts
110affected versions
42dependent artifacts (est.)
615dependent versions

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

DepthDependent versions
Direct
480
2 hops
32
3 hops
103

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.