Advisory Published

USN-4874-1: Apache Ant vulnerability

First published: Mon Mar 15 2021(Updated: )

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.

Affected SoftwareAffected VersionHow to fix
All of
ubuntu/ant<1.10.7-1ubuntu0.1~esm1
1.10.7-1ubuntu0.1~esm1
=20.04
All of
ubuntu/ant<1.10.5-3~18.04.1~esm1
1.10.5-3~18.04.1~esm1
=18.04
All of
ubuntu/ant<1.9.6-1ubuntu1.1+esm1
1.9.6-1ubuntu1.1+esm1
=16.04
All of
ubuntu/ant<1.9.3-2ubuntu0.1+esm1
1.9.3-2ubuntu0.1+esm1
=14.04

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Child vulnerabilities

(Contains the following vulnerabilities)

Frequently Asked Questions

  • What is the vulnerability ID for this Apache Ant vulnerability?

    The vulnerability ID for this Apache Ant vulnerability is USN-4874-1.

  • What is the impact of this Apache Ant vulnerability?

    This vulnerability allows an attacker to read sensitive information leaked into /tmp or potentially inject malicious code into a project built with Apache Ant.

  • Which versions of Apache Ant are affected by this vulnerability?

    Versions 1.10.7-1ubuntu0.1~esm1, 1.10.5-3~18.04.1~esm1, 1.9.6-1ubuntu1.1+esm1, and 1.9.3-2ubuntu0.1+esm1 of Apache Ant are affected by this vulnerability.

  • How can I fix this Apache Ant vulnerability?

    To fix this vulnerability, update Apache Ant to version 1.10.7-1ubuntu0.1~esm1 for Ubuntu 20.04, 1.10.5-3~18.04.1~esm1 for Ubuntu 18.04, 1.9.6-1ubuntu1.1+esm1 for Ubuntu 16.04, and 1.9.3-2ubuntu0.1+esm1 for Ubuntu 14.04.

  • Where can I find more information about this Apache Ant vulnerability?

    You can find more information about this vulnerability on the Ubuntu security advisory page: [CVE-2020-1945](https://ubuntu.com/security/CVE-2020-1945), [USN-4380-1](https://ubuntu.com/security/notices/USN-4380-1), [USN-4874-1](https://ubuntu.com/security/notices/USN-4874-1).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203