Red Hat VEX
RHVEX-CVE-2020-11979
ant: insecure temporary file
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:5 | ant | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ant | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ant-antlr | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ant-apache-bcel | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ant-apache-bsf | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ant-apache-log4j | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ant-apache-oro | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ant-apache-regexp | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ant-apache-resolver | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ant-commons-logging | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ant-commons-net | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ant-javadoc | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ant-javamail | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ant-jdepend | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ant-jmf | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ant-jsch | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ant-junit | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ant-manual | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ant-nodeps | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ant-scripts | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ant-swing | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ant-trax | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | ant | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | ant-antlr | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | ant-apache-bcel | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | ant-apache-bsf | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | ant-apache-log4j | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | ant-apache-oro | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | ant-apache-regexp | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | ant-apache-resolver | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | ant-apache-xalan2 | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | ant-commons-logging | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | ant-commons-net | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | ant-javadoc | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | ant-javamail | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | ant-jdepend | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | ant-jmf | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | ant-jsch | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | ant-junit | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | ant-manual | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | ant-swing | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | ant-testutil | All versions, no fix (out of support scope) |