Debian DLA-2741-1 : commons-io - LTS security update

medium Nessus Plugin ID 152662

Language:

Synopsis

The remote Debian host is missing a security-related update.

Description

The remote Debian 9 host has packages installed that are affected by a vulnerability as referenced in the dla-2741 advisory.

- 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. (CVE-2021-29425)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade the commons-io packages.

For Debian 9 stretch, this problem has been fixed in version 2.5-1+deb9u1.

See Also

https://security-tracker.debian.org/tracker/source-package/commons-io

https://www.debian.org/lts/security/2021/dla-2741

https://security-tracker.debian.org/tracker/CVE-2021-29425

https://packages.debian.org/source/stretch/commons-io

Plugin Details

Severity: Medium

ID: 152662

File Name: debian_DLA-2741.nasl

Version: 1.3

Type: local

Agent: unix

Published: 8/19/2021

Updated: 1/20/2022

Supported Sensors: Frictionless Assessment Agent, Nessus Agent

Risk Information

CVSS Score Source: CVE-2021-29425

VPR

Risk Factor: Medium

Score: 5.8

CVSS v2

Risk Factor: Medium

Base Score: 5.8

Temporal Score: 5

Vector: AV:N/AC:M/Au:N/C:P/I:P/A:N

Temporal Vector: E:H/RL:OF/RC:C

CVSS v3

Risk Factor: Medium

Base Score: 4.8

Temporal Score: 4.6

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

Temporal Vector: E:H/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:libcommons-io-java, p-cpe:/a:debian:debian_linux:libcommons-io-java-doc, cpe:/o:debian:debian_linux:9.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 8/12/2021

Vulnerability Publication Date: 4/13/2021

Reference Information

CVE: CVE-2021-29425