p PatchFirst

CVE-2021-29425

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

CVSS 6.5 · Medium · EPSS 10.5% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="commons-io"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

This page shows selected source facts. See the linked advisories for the complete description and affected versions.

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.

Published
Updated

Fixes in distributions

  • RHSA-2021:3658 · Red Hat jboss enterprise application platform 7.4 el8 ·
  • RHSA-2021:3656 · Red Hat jboss enterprise application platform 7.4 el7 ·
  • RHSA-2021:3466 · Red Hat jboss enterprise application platform 7.3 el6 ·
  • RHSA-2021:3468 · Red Hat jboss enterprise application platform 7.3 el8 ·
  • RHSA-2021:3467 · Red Hat jboss enterprise application platform 7.3 el7 ·
  • openSUSE-SU-2024:12099-1 · openSUSE Tumbleweed ·
  • USN-5095-1 · Ubuntu 18.04 LTS, Ubuntu 20.04 LTS ·
  • DLA-2741-1 · Debian 9 ·
  • SUSE-SU-2021:1315-1 · SUSE Linux Enterprise Server 12 SP5, SUSE Linux Enterprise Server for SAP Applications 12 SP5, SUSE Linux Enterprise Software Development Kit 12 SP5 ·
  • openSUSE-SU-2021:0605-1 · openSUSE Leap 15.2 ·
  • SUSE-SU-2021:1282-1 · SUSE Linux Enterprise Module for Basesystem 15 SP2 ·

Stack: system

Affected products and versions

  • apache commons io

    Versions
    • Apache Commons IO 2.2: Affected
    • Apache Commons IO 2.3: Affected
    • Apache Commons IO 2.4: Affected
    • Apache Commons IO 2.5: Affected
    • Apache Commons IO 2.6: Affected

    No fix published

  • commons-io Debian 12

    Affected ranges
    • ECOSYSTEM: < 2.8.0-1

    Update to 2.8.0-1

  • commons-io Debian 13

    Affected ranges
    • ECOSYSTEM: < 2.8.0-1

    Update to 2.8.0-1

  • commons-io Debian 14

    Affected ranges
    • ECOSYSTEM: < 2.8.0-1

    Update to 2.8.0-1

  • commons-io Ubuntu Pro 14.04 LTS

    Versions
    • 2.4-2
    Affected ranges
    • ECOSYSTEM: < 2.4-2ubuntu0.1~esm1

    Update to 2.4-2ubuntu0.1~esm1

  • commons-io Ubuntu Pro 16.04 LTS

    Versions
    • 2.4-2
    • 2.4-2ubuntu0.16.04.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • commons-io Ubuntu 18.04 LTS

    Versions
    • 2.5-1
    • 2.5-2
    • 2.6-1
    • 2.6-2
    Affected ranges
    • ECOSYSTEM: < 2.6-2ubuntu0.18.04.1

    Update to 2.6-2ubuntu0.18.04.1

  • commons-io Ubuntu 20.04 LTS

    Versions
    • 2.6-2
    Affected ranges
    • ECOSYSTEM: < 2.6-2ubuntu0.20.04.1

    Update to 2.6-2ubuntu0.20.04.1

Original sources

Check your server →