ADVISORIES

Red Hat VEX

RHVEX-CVE-2020-1945

ant: insecure temporary file vulnerability

Moderate No fix available CVE-2020-1945

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

EcosystemPackageAffected versions
Red Hat:enterprise_linux:5ant
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6ant
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6ant-antlr
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6ant-apache-bcel
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6ant-apache-bsf
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6ant-apache-log4j
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6ant-apache-oro
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6ant-apache-regexp
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6ant-apache-resolver
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6ant-commons-logging
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6ant-commons-net
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6ant-javadoc
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6ant-javamail
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6ant-jdepend
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6ant-jmf
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6ant-jsch
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6ant-junit
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6ant-manual
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6ant-nodeps
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6ant-scripts
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6ant-swing
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6ant-trax
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7ant
All versions, will not be fixed
Red Hat:enterprise_linux:7ant-antlr
All versions, will not be fixed
Red Hat:enterprise_linux:7ant-apache-bcel
All versions, will not be fixed
Red Hat:enterprise_linux:7ant-apache-bsf
All versions, will not be fixed
Red Hat:enterprise_linux:7ant-apache-log4j
All versions, will not be fixed
Red Hat:enterprise_linux:7ant-apache-oro
All versions, will not be fixed
Red Hat:enterprise_linux:7ant-apache-regexp
All versions, will not be fixed
Red Hat:enterprise_linux:7ant-apache-resolver
All versions, will not be fixed
Red Hat:enterprise_linux:7ant-apache-xalan2
All versions, will not be fixed
Red Hat:enterprise_linux:7ant-commons-logging
All versions, will not be fixed
Red Hat:enterprise_linux:7ant-commons-net
All versions, will not be fixed
Red Hat:enterprise_linux:7ant-javadoc
All versions, will not be fixed
Red Hat:enterprise_linux:7ant-javamail
All versions, will not be fixed
Red Hat:enterprise_linux:7ant-jdepend
All versions, will not be fixed
Red Hat:enterprise_linux:7ant-jmf
All versions, will not be fixed
Red Hat:enterprise_linux:7ant-jsch
All versions, will not be fixed
Red Hat:enterprise_linux:7ant-junit
All versions, will not be fixed
Red Hat:enterprise_linux:7ant-manual
All versions, will not be fixed
Red Hat:enterprise_linux:7ant-swing
All versions, will not be fixed
Red Hat:enterprise_linux:7ant-testutil
All versions, will not be fixed
Red Hat:enterprise_linux:8ant
All versions, will not be fixed
Red Hat:enterprise_linux:8ant-antlr
All versions, will not be fixed
Red Hat:enterprise_linux:8ant-apache-bcel
All versions, will not be fixed
Red Hat:enterprise_linux:8ant-apache-bsf
All versions, will not be fixed
Red Hat:enterprise_linux:8ant-apache-log4j
All versions, will not be fixed
Red Hat:enterprise_linux:8ant-apache-oro
All versions, will not be fixed
Red Hat:enterprise_linux:8ant-apache-regexp
All versions, will not be fixed
Red Hat:enterprise_linux:8ant-apache-resolver
All versions, will not be fixed
Red Hat:enterprise_linux:8ant-apache-xalan2
All versions, will not be fixed
Red Hat:enterprise_linux:8ant-commons-logging
All versions, will not be fixed
Red Hat:enterprise_linux:8ant-commons-net
All versions, will not be fixed
Red Hat:enterprise_linux:8ant-javadoc
All versions, will not be fixed
Red Hat:enterprise_linux:8ant-javamail
All versions, will not be fixed
Red Hat:enterprise_linux:8ant-jdepend
All versions, will not be fixed
Red Hat:enterprise_linux:8ant-jmf
All versions, will not be fixed
Red Hat:enterprise_linux:8ant-jsch
All versions, will not be fixed
Red Hat:enterprise_linux:8ant-junit
All versions, will not be fixed
Red Hat:enterprise_linux:8ant-lib
All versions, will not be fixed
Red Hat:enterprise_linux:8ant-manual
All versions, will not be fixed
Red Hat:enterprise_linux:8ant-swing
All versions, will not be fixed
Red Hat:enterprise_linux:8ant-testutil
All versions, will not be fixed
Red Hat:enterprise_linux:8ant-xz
All versions, will not be fixed

References