CVE-2021-29425
commons-io - security update
4.8
MEDIUM
CVSS 3.1
EPSS 10.6%
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.
How to fix CVE-2021-29425
To remediate CVE-2021-29425, upgrade the affected package to a fixed version below.
- —upgrade to 2.8.0-1 or later
- —upgrade to 2.5-1+deb9u1 or later
- —no fix listed
- —no fix listed
- —no fix listed
- —no fix listed
- —upgrade to 2.7 or later
- —no fix listed
- —no fix listed
- —no fix listed
- —upgrade to 2.7 or later
- —no fix listed
Is CVE-2021-29425 being exploited?
Moderate — EPSS is 10.6%. Track this CVE but it's not at the top of the prioritisation list.
Affected packages (12)
- from 0, < 2.8.0-1
- from 0, < 2.5-1+deb9u1
- >= 1.0, <= 3.22
- >= 1.0.0, <= 1.3.6
- from 0, < 2.7
- >= 4.4.1, <= 4.6.2
- >= 1.4, <= 1.5
- >= 2.6, < 2.7
- >= 0.1.9, <= 0.6
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |