{"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-05-20T16:03:07.146149279Z","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?arch=source&distro=trusty%2Fesm"},"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":{"binaries":[{"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","binary_version":"1.9.3-2ubuntu0.1+esm1"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:14.04:LTS","cves":[{"severity":[{"score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2020-1945"}]},"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?arch=source&distro=esm-infra-legacy%2Fxenial"},"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":{"binaries":[{"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","binary_version":"1.9.6-1ubuntu1.1+esm1"}],"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:16.04:LTS","cves":[]},"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?arch=source&distro=esm-apps%2Fbionic"},"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":{"binaries":[{"binary_name":"ant","binary_version":"1.10.5-3~18.04.1~esm1"},{"binary_name":"ant-optional","binary_version":"1.10.5-3~18.04.1~esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:18.04:LTS","cves":[{"severity":[{"score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2020-1945"}]},"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?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.7-1ubuntu0.1~esm1"}]}],"versions":["1.10.6-1","1.10.7-1"],"ecosystem_specific":{"binaries":[{"binary_name":"ant","binary_version":"1.10.7-1ubuntu0.1~esm1"},{"binary_name":"ant-optional","binary_version":"1.10.7-1ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:20.04:LTS","cves":[{"severity":[{"score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2020-1945"}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4874-1.json"}}],"schema_version":"1.7.5"}