{"id":"USN-4874-1","summary":"ant vulnerability","details":"It was discovered that Apache Ant created temporary files with insecure\npermissions. An attacker could use this vulnerability to read sensitive\ninformation leaked into /tmp, or potentially inject malicious code into a\nproject that is built with Apache Ant.","modified":"2026-02-10T04:42:06Z","published":"2021-03-15T23:05:04Z","related":["UBUNTU-CVE-2020-1945"],"upstream":["CVE-2020-1945","UBUNTU-CVE-2020-1945"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4874-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-1945"}],"affected":[{"package":{"name":"ant","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/ant@1.9.3-2ubuntu0.1+esm1?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.3-2ubuntu0.1+esm1"}]}],"versions":["1.9.2-1","1.9.3-1","1.9.3-2","1.9.3-2build1","1.9.3-2ubuntu0.1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_version":"1.9.3-2ubuntu0.1+esm1","binary_name":"ant"},{"binary_version":"1.9.3-2ubuntu0.1+esm1","binary_name":"ant-gcj"},{"binary_version":"1.9.3-2ubuntu0.1+esm1","binary_name":"ant-optional"},{"binary_version":"1.9.3-2ubuntu0.1+esm1","binary_name":"ant-optional-gcj"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:14.04:LTS","cves":[{"id":"CVE-2020-1945","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4874-1.json"}},{"package":{"name":"ant","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/ant@1.9.6-1ubuntu1.1+esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.6-1ubuntu1.1+esm1"}]}],"versions":["1.9.6-1ubuntu1","1.9.6-1ubuntu1.1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"1.9.6-1ubuntu1.1+esm1","binary_name":"ant"},{"binary_version":"1.9.6-1ubuntu1.1+esm1","binary_name":"ant-gcj"},{"binary_version":"1.9.6-1ubuntu1.1+esm1","binary_name":"ant-optional"},{"binary_version":"1.9.6-1ubuntu1.1+esm1","binary_name":"ant-optional-gcj"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:16.04:LTS","cves":[{"id":"CVE-2020-1945","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4874-1.json"}},{"package":{"name":"ant","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/ant@1.10.5-3~18.04.1~esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.5-3~18.04.1~esm1"}]}],"versions":["1.9.9-4","1.9.9-5","1.9.9-6","1.9.10-1","1.9.10-2","1.10.3-1","1.10.3-1ubuntu0.1","1.10.5-3~18.04"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"1.10.5-3~18.04.1~esm1","binary_name":"ant"},{"binary_version":"1.10.5-3~18.04.1~esm1","binary_name":"ant-optional"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:18.04:LTS","cves":[{"id":"CVE-2020-1945","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4874-1.json"}},{"package":{"name":"ant","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/ant@1.10.7-1ubuntu0.1~esm1?arch=source&distro=esm-apps/focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.7-1ubuntu0.1~esm1"}]}],"versions":["1.10.6-1","1.10.7-1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"1.10.7-1ubuntu0.1~esm1","binary_name":"ant"},{"binary_version":"1.10.7-1ubuntu0.1~esm1","binary_name":"ant-optional"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:20.04:LTS","cves":[{"id":"CVE-2020-1945","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4874-1.json"}}],"schema_version":"1.7.3"}