CVE-2021-29425

CVE-2021-29425: Possible limited path traversal vulnerabily in Apache Commons IO

Vendor Apache Software Foundation
Product Apache Commons IO
Weakness CWE-20 · Input validation
Published April 13, 2021
Last update August 3, 2024

CVSS base score

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

April 13, 2021 CVE published
August 3, 2024 Record updated