{"id":"UBUNTU-CVE-2025-27553","details":"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.","modified":"2026-05-20T16:10:34.314814648Z","published":"2025-03-23T15:15:00Z","upstream":["CVE-2025-27553"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-27553"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-27553"},{"type":"REPORT","url":"https://www.openwall.com/lists/oss-security/2025/03/23/1"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2025/03/23/1"},{"type":"REPORT","url":"https://lists.apache.org/thread/cnzqowyw9r2pl263cylmxhnvh41hyjcb"}],"affected":[{"package":{"name":"commons-vfs","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/commons-vfs?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0-3ubuntu1","2.0-7ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"libcommons-vfs-java","binary_version":"2.0-7ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-27553.json"}},{"package":{"name":"commons-vfs","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/commons-vfs?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1-1","2.1-2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.1-2","binary_name":"libcommons-vfs-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-27553.json"}},{"package":{"name":"commons-vfs","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/commons-vfs?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libcommons-vfs-java","binary_version":"2.1-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-27553.json"}},{"package":{"name":"commons-vfs","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/commons-vfs?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libcommons-vfs-java","binary_version":"2.1-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-27553.json"}},{"package":{"name":"commons-vfs","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/commons-vfs?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1-4"],"ecosystem_specific":{"binaries":[{"binary_version":"2.1-4","binary_name":"libcommons-vfs-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-27553.json"}},{"package":{"name":"commons-vfs","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/commons-vfs?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1-4","2.1-5"],"ecosystem_specific":{"binaries":[{"binary_version":"2.1-5","binary_name":"libcommons-vfs-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-27553.json"}},{"package":{"name":"commons-vfs","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/commons-vfs?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1-5"],"ecosystem_specific":{"binaries":[{"binary_name":"libcommons-vfs-java","binary_version":"2.1-5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-27553.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}