{"id":"UBUNTU-CVE-2020-11979","details":"As mitigation for CVE-2020-1945 Apache Ant 1.10.8 changed the permissions of temporary files it created so that only the current user was allowed to access them. Unfortunately the fixcrlf task deleted the temporary file and created a new one without said protection, effectively nullifying the effort. This would still allow an attacker to inject modified source files into the build process.","modified":"2025-09-08T16:46:05Z","published":"2020-10-01T20:15:00Z","upstream":["CVE-2020-11979"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-11979"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/rc3c8ef9724b5b1e171529b47f4b35cb7920edfb6e917fa21eb6c64ea%40%3Cdev.ant.apache.org%3E"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-11979"}],"affected":[{"package":{"name":"ant","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/ant@1.9.3-2ubuntu0.1+esm1?arch=source&distro=esm-infra-legacy/trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.9.2-1","1.9.3-1","1.9.3-2","1.9.3-2build1","1.9.3-2ubuntu0.1","1.9.3-2ubuntu0.1+esm1"],"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"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-11979.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"}]}],"versions":["1.9.6-1ubuntu1","1.9.6-1ubuntu1.1","1.9.6-1ubuntu1.1+esm1"],"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"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-11979.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"}]}],"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","1.10.5-3~18.04.1~esm1"],"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"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-11979.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"}]}],"versions":["1.10.6-1","1.10.7-1","1.10.7-1ubuntu0.1~esm1"],"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"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-11979.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}