Directory Traversal Affecting jenkins-2-plugins package, versions <0:3.11.1637699107-1.el7


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.2% (58th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Directory Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL7-JENKINS2PLUGINS-5277056
  • published26 Mar 2023
  • disclosed4 Nov 2021

Introduced: 4 Nov 2021

CVE-2021-21688  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade RHEL:7 jenkins-2-plugins to version 0:3.11.1637699107-1.el7 or higher.
This issue was patched in RHSA-2021:4827.

NVD Description

Note: Versions mentioned in the description apply only to the upstream jenkins-2-plugins package and not the jenkins-2-plugins package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

The agent-to-controller security check FilePath#reading(FileVisitor) in Jenkins 2.318 and earlier, LTS 2.303.2 and earlier does not reject any operations, allowing users to have unrestricted read access using certain operations (creating archives, FilePath#copyRecursiveTo).

CVSS Scores

version 3.1