Lucene search

K
cvelistApacheCVELIST:CVE-2021-29425
HistoryApr 13, 2021 - 6:50 a.m.

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

2021-04-1306:50:12
CWE-20
apache
www.cve.org
7
apache commons io
path traversal
vulnerability
filenameutils.normalize
cve-2021-29425

AI Score

6.7

Confidence

High

EPSS

0.002

Percentile

57.2%

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.

CNA Affected

[
  {
    "product": "Apache Commons IO",
    "vendor": "Apache Software Foundation",
    "versions": [
      {
        "status": "affected",
        "version": "Apache Commons IO 2.2"
      },
      {
        "status": "affected",
        "version": "Apache Commons IO 2.3"
      },
      {
        "status": "affected",
        "version": "Apache Commons IO 2.4"
      },
      {
        "status": "affected",
        "version": "Apache Commons IO 2.5"
      },
      {
        "status": "affected",
        "version": "Apache Commons IO 2.6"
      }
    ]
  }
]

References