UBUNTU-CVE-2021-29425

Source
https://ubuntu.com/security/CVE-2021-29425
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-29425.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-29425
Related
Published
2021-04-13T07:15:00Z
Modified
2024-10-15T14:08:07Z
Severity
  • 4.8 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N CVSS Calculator
Summary
[none]
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.

References

Affected packages

Ubuntu:Pro:14.04:LTS / commons-io

Package

Name
commons-io
Purl
pkg:deb/ubuntu/commons-io?arch=src?distro=trusty/esm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.4-2ubuntu0.1~esm1

Affected versions

2.*

2.4-2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2.4-2ubuntu0.1~esm1",
            "binary_name": "libcommons-io-java"
        },
        {
            "binary_version": "2.4-2ubuntu0.1~esm1",
            "binary_name": "libcommons-io-java-doc"
        }
    ]
}

Ubuntu:Pro:16.04:LTS / commons-io

Package

Name
commons-io
Purl
pkg:deb/ubuntu/commons-io?arch=src?distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.4-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:18.04:LTS / commons-io

Package

Name
commons-io
Purl
pkg:deb/ubuntu/commons-io?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.6-2ubuntu0.18.04.1

Affected versions

2.*

2.5-1
2.5-2
2.6-1
2.6-2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2.6-2ubuntu0.18.04.1",
            "binary_name": "libcommons-io-java"
        },
        {
            "binary_version": "2.6-2ubuntu0.18.04.1",
            "binary_name": "libcommons-io-java-doc"
        }
    ]
}

Ubuntu:20.04:LTS / commons-io

Package

Name
commons-io
Purl
pkg:deb/ubuntu/commons-io?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.6-2ubuntu0.20.04.1

Affected versions

2.*

2.6-2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2.6-2ubuntu0.20.04.1",
            "binary_name": "libcommons-io-java"
        },
        {
            "binary_version": "2.6-2ubuntu0.20.04.1",
            "binary_name": "libcommons-io-java-doc"
        }
    ]
}

Ubuntu:22.04:LTS / commons-io

Package

Name
commons-io
Purl
pkg:deb/ubuntu/commons-io?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.8.0-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2.8.0-1",
            "binary_name": "libcommons-io-java"
        },
        {
            "binary_version": "2.8.0-1",
            "binary_name": "libcommons-io-java-doc"
        }
    ]
}