[ASA-202005-15] ant: arbitrary command execution

Morten Linderud foxboron at archlinux.org
Mon Jun 1 20:21:23 UTC 2020


Arch Linux Security Advisory ASA-202005-15
==========================================

Severity: Medium
Date    : 2020-05-20
CVE-ID  : CVE-2020-1945
Package : ant
Type    : arbitrary command execution
Remote  : No
Link    : https://security.archlinux.org/AVG-1159

Summary
=======

The package ant before version 1.10.8-1 is vulnerable to arbitrary
command execution.

Resolution
==========

Upgrade to 1.10.8-1.

# pacman -Syu "ant>=1.10.8-1"

The problem has been fixed upstream in version 1.10.8.

Workaround
==========

None.

Description
===========

Apache Ant uses the default temporary directory identified by the Java
system property java.io.tmpdir for several tasks and may thus leak
sensitive information. The fixcrlf and replaceregexp tasks also copy
files from the temporary directory back into the build tree allowing an
attacker to inject modified source files into the build process.

Impact
======

A local malicious user can inject code into the ant build process.

References
==========

https://lists.apache.org/thread.html/r8e592bbfc016a5dbe2a8c0e81ff99682b9c78c453621b82c14e7b75e%40%3Cdev.ant.apache.org%3E
https://security.archlinux.org/CVE-2020-1945
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.archlinux.org/pipermail/arch-security/attachments/20200601/abbed613/attachment.sig>


More information about the arch-security mailing list