Directory Traversal Affecting eap7-wildfly package, versions <0:7.3.9-2.GA_redhat_00002.1.el7eap


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.19% (57th 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-EAP7WILDFLY-5307020
  • published26 Jul 2021
  • disclosed12 Apr 2021

Introduced: 12 Apr 2021

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

How to fix?

Upgrade RHEL:7 eap7-wildfly to version 0:7.3.9-2.GA_redhat_00002.1.el7eap or higher.
This issue was patched in RHSA-2021:3467.

NVD Description

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

In Apache Commons IO before 2.7, When invoking the method FileNameUtils.normalize with an improper input string, like "//../foo", or "\..\foo", the result would be the same value, thus possibly providing access to files in the parent directory, but not further above (thus "limited" path traversal), if the calling code would use the result to construct a path value.

References

CVSS Scores

version 3.1