Advisory

UBUNTU-CVE-2021-29425

Also known as: CVE-2021-29425

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 4.8, vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

Dates

Published
2021-04-13 07:15 UTC
Modified
2026-10-08 19:46 UTC

Affected packages and fixes

commons-io

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 2.6-2ubuntu0.18.04.1 (ecosystem)

Fixed versions

2.6-2ubuntu0.18.04.1

Fix

  • Fixed version 2.6-2ubuntu0.18.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

commons-io

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 2.6-2ubuntu0.20.04.1 (ecosystem)

Fixed versions

2.6-2ubuntu0.20.04.1

Fix

  • Fixed version 2.6-2ubuntu0.20.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences