Red Hat VEX
RHVEX-CVE-2020-1945
ant: insecure temporary file vulnerability
Details
Apache Ant 1.1 to 1.9.14 and 1.10.0 to 1.10.7 uses the default temporary directory identified by the Java system property java.io.tmpdir for several tasks and may thus leak sensitive information. The fixcrlf and replaceregexp tasks also copy files from the temporary directory back into the build tree allowing 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, will not be fixed |
| Red Hat:enterprise_linux:7 | ant-antlr | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | ant-apache-bcel | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | ant-apache-bsf | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | ant-apache-log4j | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | ant-apache-oro | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | ant-apache-regexp | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | ant-apache-resolver | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | ant-apache-xalan2 | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | ant-commons-logging | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | ant-commons-net | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | ant-javadoc | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | ant-javamail | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | ant-jdepend | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | ant-jmf | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | ant-jsch | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | ant-junit | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | ant-manual | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | ant-swing | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | ant-testutil | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | ant | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | ant-antlr | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | ant-apache-bcel | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | ant-apache-bsf | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | ant-apache-log4j | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | ant-apache-oro | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | ant-apache-regexp | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | ant-apache-resolver | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | ant-apache-xalan2 | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | ant-commons-logging | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | ant-commons-net | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | ant-javadoc | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | ant-javamail | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | ant-jdepend | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | ant-jmf | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | ant-jsch | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | ant-junit | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | ant-lib | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | ant-manual | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | ant-swing | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | ant-testutil | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | ant-xz | All versions, will not be fixed |