CVE-2021-29425

medium

Description

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

https://issues.apache.org/jira/browse/IO-556

https://lists.apache.org/thread.html/rc359823b5500e9a9a2572678ddb8e01d3505a7ffcadfa8d13b8780ab%40%3Cuser.commons.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Cdev.commons.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Cdev.commons.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Ccommits.pulsar.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Ccommits.pulsar.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Cdev.creadur.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Cdev.creadur.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Cdev.creadur.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Cdev.creadur.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Ccommits.pulsar.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Cdev.myfaces.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Cdev.creadur.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Cdev.creadur.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Cdev.creadur.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Cdev.creadur.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Cusers.kafka.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Cdev.creadur.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Cuser.commons.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Cuser.commons.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Cpluto-dev.portals.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Cpluto-scm.portals.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Cpluto-dev.portals.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Cissues.zookeeper.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Cnotifications.zookeeper.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Cissues.zookeeper.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Cdev.zookeeper.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Cnotifications.zookeeper.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Cnotifications.zookeeper.apache.org%3E

https://lists.debian.org/debian-lts-announce/2021/08/msg00016.html

https://lists.apache.org/thread.html/[email protected]%3Cnotifications.zookeeper.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Cnotifications.zookeeper.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Cnotifications.zookeeper.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Cnotifications.zookeeper.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Cnotifications.zookeeper.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Cnotifications.zookeeper.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Cnotifications.zookeeper.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Cnotifications.zookeeper.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Cnotifications.zookeeper.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Cissues.zookeeper.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Cnotifications.zookeeper.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Ccommits.zookeeper.apache.org%3E

https://www.oracle.com/security-alerts/cpuoct2021.html

https://www.oracle.com/security-alerts/cpujan2022.html

https://security.netapp.com/advisory/ntap-20220210-0004/

https://www.oracle.com/security-alerts/cpuapr2022.html

https://www.oracle.com/security-alerts/cpujul2022.html

Details

Source: MITRE

Published: 2021-04-13

Updated: 2022-07-25

Type: CWE-22

Risk Information

CVSS v2

Base Score: 5.8

Vector: AV:N/AC:M/Au:N/C:P/I:P/A:N

Impact Score: 4.9

Exploitability Score: 8.6

Severity: MEDIUM

CVSS v3

Base Score: 4.8

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

Impact Score: 2.5

Exploitability Score: 2.2

Severity: MEDIUM