Apache Ant: Multiple vulnerabilities — GLSA 202007-34

Apache Ant uses various insecure temporary files possibly allowing local code execution.

Affected packages

dev-java/ant on all architectures
Affected versions < 1.10.8
Unaffected versions >= 1.10.8

Background

Ant is a Java-based build tool similar to ‘make’ that uses XML configuration files.

Description

Apache Ant was found to be using multiple insecure temporary files which may disclose sensitive information or execute code from an unsafe local location.

Impact

A local attacker could possibly execute arbitrary code with the privileges of the process, or cause a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All Apache Ant users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=dev-java/ant-1.10.8"
 

References

Release date
July 27, 2020

Latest revision
July 27, 2020: 1

Severity
normal

Exploitable
local

Bugzilla entries