USN-4874-1

Type: Security
Severity: Medium
Published: 2021-03-15
Ubuntu 20.04 LTS (Focal Fossa)

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: Run `sudo pro fix USN-4874-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: ant - 1.10.7-1ubuntu0.1~esm1 ant-doc - 1.10.7-1ubuntu0.1~esm1 ant-optional - 1.10.7-1ubuntu0.1~esm1 Available with Ubuntu Pro: https://ubuntu.com/pro

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T01:47:42.136Z UTC

Official vendor advisory

Ubuntu 20.04 LTS (Focal Fossa)

View source
Observed 2026-11-28T01:47:42.136Z UTC. Last updated 2025-11-26T07:36:07.178Z UTC.

Upstream Advisory

Affected Packages

  • ant 1.10.7-1ubuntu0.1~esm1-1.10.7-1ubuntu0.1~esm1

  • ant-doc 1.10.7-1ubuntu0.1~esm1-1.10.7-1ubuntu0.1~esm1

  • ant-optional 1.10.7-1ubuntu0.1~esm1-1.10.7-1ubuntu0.1~esm1

Interested in being alerted when there are new versions of ant and the other packages? Set up an alert.
USN-4874-1: Apache Ant vulnerability | Package Alert