USN-4874-1: Apache Ant vulnerability

Publication date

15 March 2021

Overview

Apache Ant would allow unintended access to files or execute arbitrary code.


Packages

  • ant - Java based build tool like make

Details

It was discovered that Apache Ant created temporary files with insecure
permissions. An attacker could use this vulnerability to read sensitive
information leaked into /tmp, or potentially inject malicious code into a
project that is built with Apache Ant.

It was discovered that Apache Ant created temporary files with insecure
permissions. An attacker could use this vulnerability to read sensitive
information leaked into /tmp, or potentially inject malicious code into a
project that is built with Apache Ant.

Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
20.04 focal ant –  1.10.7-1ubuntu0.1~esm1  
18.04 bionic ant –  1.10.5-3~18.04.1~esm1  
16.04 xenial ant –  1.9.6-1ubuntu1.1+esm1  
14.04 trusty ant –  1.9.3-2ubuntu0.1+esm1  

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›