Improper input validation in Apache Ant - CVE-2018-10886
Published: July 25, 2018 / Updated: July 26, 2018
Vulnerability details
The vulnerability allows a remote attacker to create or overwrite arbitrary files on the target system.
The vulnerability exists due to the affected software allows archive files to be extracted outside of the target directory. A remote unauthenticated attacker can submit a specially crafted ZIP or TAR archive to an Ant build, trick the victim into extracting it, cause a file to be created outside the current working directory on the system and create or overwrite arbitrary files.
Affected software
Debian Linux
Amazon Linux AMI
Ubuntu
Opensuse
Fedora
ant (Ubuntu package)
ant (Debian package)
ant
How to mitigate CVE-2018-10886
ant (Ubuntu package) - update to 1.9.3-2ubuntu0.1
ant (Debian package) - addressed in versions 1.9.4-3+deb8u1, 1.9.9-1+deb9u1
ant - addressed in versions 1.10-20180629154141.819b5873, 1.10.1-10.fc27, 1.10.1-10.fc28