Amazon Linux 2 : apache-commons-vfs (ALAS-2025-2842)

high Nessus Plugin ID 235027

Synopsis

The remote Amazon Linux 2 host is missing a security update.

Description

The version of apache-commons-vfs installed on the remote host is prior to 2.0-11. It is, therefore, affected by a vulnerability as referenced in the ALAS2-2025-2842 advisory.

Relative Path Traversal vulnerability in Apache Commons VFS before 2.10.0.

The FileObject API in Commons VFS has a 'resolveFile' method thattakes a 'scope' parameter. Specifying 'NameScope.DESCENDENT' promises that an exception is thrown if the resolved file is not a descendent ofthe base file. However, when the path contains encoded ..characters (for example, %2E%2E/bar.txt), it might return file objects that are nota descendent of the base file, without throwing an exception.This issue affects Apache Commons VFS: before 2.10.0.

Users are recommended to upgrade to version 2.10.0, which fixes the issue. (CVE-2025-27553)

Tenable has extracted the preceding description block directly from the tested product security advisory.

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

Solution

Run 'yum update apache-commons-vfs' to update your system.

See Also

https://alas.aws.amazon.com/faqs.html

https://alas.aws.amazon.com/cve/html/CVE-2025-27553.html

https://alas.aws.amazon.com/AL2/ALAS-2025-2842.html

Plugin Details

Severity: High

ID: 235027

File Name: al2_ALAS-2025-2842.nasl

Version: 1.1

Type: local

Agent: unix

Published: 4/30/2025

Updated: 4/30/2025

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:N/A:N

CVSS Score Source: CVE-2025-27553

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:apache-commons-vfs, p-cpe:/a:amazon:linux:apache-commons-vfs-ant, p-cpe:/a:amazon:linux:apache-commons-vfs-examples, p-cpe:/a:amazon:linux:apache-commons-vfs-javadoc

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

Exploit Ease: No known exploits are available

Patch Publication Date: 4/23/2025

Vulnerability Publication Date: 3/23/2025

Reference Information

CVE: CVE-2025-27553