Amazon Linux 2 Security Advisory: ALAS2-2025-2819
Advisory Released Date: 2025-04-16
Advisory Updated Date: 2025-04-16
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 message
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-30474)
Affected Packages:
apache-commons-vfs
Note:
This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.
Issue Correction:
Run yum update apache-commons-vfs to update your system.
noarch:
apache-commons-vfs-2.0-11.amzn2.0.1.noarch
apache-commons-vfs-ant-2.0-11.amzn2.0.1.noarch
apache-commons-vfs-examples-2.0-11.amzn2.0.1.noarch
apache-commons-vfs-javadoc-2.0-11.amzn2.0.1.noarch
src:
apache-commons-vfs-2.0-11.amzn2.0.1.src