Possible limited path traversal vulnerabily in Apache Commons IO
CVE-2021-29425
4.8MEDIUM
What is CVE-2021-29425?
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.
Affected Version(s)
Apache Commons IO Apache Commons IO 2.2
Apache Commons IO Apache Commons IO 2.3
Apache Commons IO Apache Commons IO 2.4