OESA-2025-1941

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2025-1941
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2025-1941.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2025-1941
Upstream
Published
2025-08-01T13:03:36Z
Modified
2025-08-12T05:49:45.323907Z
Summary
apache-commons-vfs security update
Details

Commons VFS provides a uniform view of files through a single API which is designed for accessing various different file systems. These file systems could be a local disk, an HTTP server or a ZIP archive file. The key features are listed as follows: * The API is consistent among various file types. * Support for a wide range of file systems. * Support caching local file system with different fs types. * Event delivery. * Provides in-JVM info caching. * A set of Ant tasks which VFS is enabled. * Easy to be intergrated into applications such as VFS-aware ClassLoader and URLStreamHandlerFactory.

Security Fix(es):

Relative Path Traversal vulnerability in Apache Commons VFS before 2.10.0.

The FileObject API in Commons VFS has a 'resolveFile' method that takes a 'scope' parameter. Specifying 'NameScope.DESCENDENT' promises that "an exception is thrown if the resolved file is not a descendent of the base file". However, when the path contains encoded ".." characters (for example, "%2E%2E/bar.txt"), it might return file objects that are not a 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)

Database specific
{
    "severity": "High"
}
References

Affected packages

openEuler:20.03-LTS-SP4 / apache-commons-vfs

Package

Name
apache-commons-vfs
Purl
pkg:rpm/openEuler/apache-commons-vfs&distro=openEuler-20.03-LTS-SP4

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.1-16.oe2003sp4

Ecosystem specific

{
    "src": [
        "apache-commons-vfs-2.1-16.oe2003sp4.src.rpm"
    ],
    "noarch": [
        "apache-commons-vfs-2.1-16.oe2003sp4.noarch.rpm",
        "apache-commons-vfs-devel-2.1-16.oe2003sp4.noarch.rpm",
        "apache-commons-vfs-help-2.1-16.oe2003sp4.noarch.rpm"
    ]
}