USN-9295-1: Apache Commons VFS vulnerability
Arnout Engelen discovered that Apache Commons VFS incorrectly handled encoded parent directory references in paths when resolving files within a base directory. An attacker could possibly use this issue to access files outside of the intended directory.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/libcommons-vfs-javato a version that resolves this vulnerability.Fixed in 2.1-4+deb12u1build0.24.04.1 - Upgrade
Upgrade
ubuntu/libcommons-vfs-javato a version that resolves this vulnerability.Fixed in 2.1-2+deb11u1build0.22.04.1 - Upgrade
Upgrade
ubuntu/libcommons-vfs-javato a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libcommons-vfs-javato a version that resolves this vulnerability.Fixed in 2.0-7ubuntu1+esm1
Event History
Frequently Asked Questions
What does an attacker need to exploit this issue?
The attacker needs a way to supply a path that is resolved within a configured base directory. Encoded parent-directory references may allow that path to resolve outside the intended directory.
What is the potential impact if exploitation succeeds?
An attacker could possibly access files outside the directory that the application intended to expose.
Which Ubuntu package is identified as affected?
The advisory identifies the Ubuntu libcommons-vfs-java package.