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

medium Nessus Plugin ID 234529

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-2819 advisory.

Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Apache Commons VFS.

The FtpFileObject class can throw an exception when a file is not found, revealing the original URI in its message, which may include a password. The fix is to mask the password in the exception messageThis 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-30474)

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/AL2/ALAS-2025-2819.html

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

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

Plugin Details

Severity: Medium

ID: 234529

File Name: al2_ALAS-2025-2819.nasl

Version: 1.1

Type: local

Agent: unix

Published: 4/17/2025

Updated: 4/17/2025

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.2

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-30474

CVSS v3

Risk Factor: Medium

Base Score: 5

Temporal Score: 4.4

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

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

CVSS v4

Risk Factor: Medium

Base Score: 6.9

Threat Score: 2.7

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:apache-commons-vfs, cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:apache-commons-vfs-examples, p-cpe:/a:amazon:linux:apache-commons-vfs-ant, 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/9/2025

Vulnerability Publication Date: 3/23/2025

Reference Information

CVE: CVE-2025-30474