cve.bz

CVE-2021-21698 jenkins subversion: Path traversal

7.5 highEPSS 2.1%Fix available

High (7.5) in jenkins subversion. EPSS 2.1% estimated probability of exploitation activity in the next 30 days. Fixed in org.jenkins-ci.plugins:subversion 2.15.1.

On this page
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 from an agent.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
2.1% (unchanged from 2.1% a week ago; 2.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 83rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-21698 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-21698?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-21698?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-21698 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Jenkins project Jenkins Subversion Pluginthrough 2.15.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-q58j-fhj7-j6fgMavenorg.jenkins-ci.plugins:subversion<2.15.12.15.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatopenshift:3.11::el7jenkins0:2.303.3.1637698110-1.el7RHSA-2021:4827
Red Hatopenshift:3.11::el7jenkins-2-plugins0:3.11.1637699107-1.el7RHSA-2021:4827
Red Hatopenshift:4.6::el8jenkins0:2.303.3.1637597493-1.el8RHSA-2021:4799
Red Hatopenshift:4.6::el8jenkins-2-plugins0:4.6.1637602169-1.el8RHSA-2021:4799
Red Hatopenshift:4.7::el8jenkins0:2.303.3.1637597018-1.el8RHSA-2021:4801
Red Hatopenshift:4.7::el8jenkins-2-plugins0:4.7.1637600997-1.el8RHSA-2021:4801
Red Hatopenshift:4.8::el8coreos-installer0:0.9.0-8.rhaos4.8.el8RHSA-2021:4829
Red Hatopenshift:4.8::el8jenkins0:2.303.3.1637596565-1.el8RHSA-2021:4829
Red Hatopenshift:4.8::el8jenkins-2-plugins0:4.8.1637599935-1.el8RHSA-2021:4829
Red Hatopenshift:4.9::el8jenkins0:2.303.3.1637595827-1.el8RHSA-2021:4833
Red Hatopenshift:4.9::el8jenkins-2-plugins0:4.9.1637598812-1.el8RHSA-2021:4833
Red Hatopenshift:4.10::el7cri-o, cri-o-debuginfo0:1.23.0-92.rhaos4.10.gitdaab4d1.el7RHSA-2022:0055
8 more for Red Hat in the JSON and on Red Hat's page.
Azure Linux3subversionno fix listedAZL-113075

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat OpenShift Container Platform 3.11jenkins-2-plugins-0:3.11.1637699107-1.el7Fixed 2021-12-02RHSA-2021:4827
Red Hat OpenShift Container Platform 4.10jenkins-2-plugins-0:4.10.1643404185-1.el8Fixed 2022-03-10RHSA-2022:0055
Red Hat OpenShift Container Platform 4.6jenkins-2-plugins-0:4.6.1637602169-1.el8Fixed 2021-12-02RHSA-2021:4799
Red Hat OpenShift Container Platform 4.7jenkins-2-plugins-0:4.7.1637600997-1.el8Fixed 2021-12-01RHSA-2021:4801
Red Hat OpenShift Container Platform 4.8jenkins-2-plugins-0:4.8.1637599935-1.el8Fixed 2021-11-30RHSA-2021:4829
Red Hat OpenShift Container Platform 4.9jenkins-2-plugins-0:4.9.1637598812-1.el8Fixed 2021-11-29RHSA-2021:4833

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-21698.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON