GHSA-gwrp-pvrq-jmwv

Path Traversal and Improper Input Validation in Apache Commons IO

En bref

Publiée
Mise à jour
CVE
CVE-2021-29425
CVSS_V3
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

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.

Paquets affectés

PaquetVersions
Maven · commons-io:commons-iointroduced 0, fixed 2.7
Maven · com.cosium.vet:vetintroduced 1.0, last affected 3.22
Maven · com.diamondq.common:common-thirdparty.jcasbin1.4.0
Maven · com.liferay:com.liferay.sass.compiler.jsass1.0.1
Maven · com.virjar:ratel-apiintroduced 1.0.0, last affected 1.3.6
Maven · net.hasor:cobble-langintroduced 4.4.1, last affected 4.6.2
Maven · org.apache.commons:commons-io1.3.2
Maven · org.apache.servicemix.bundles:org.apache.servicemix.bundles.commons-iointroduced 1.4, last affected 1.5
Maven · org.checkerframework.annotatedlib:commons-iointroduced 2.6, fixed 2.7
Maven · org.smartboot.servlet:servlet-coreintroduced 0.1.9, last affected 0.6

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database