ADVISORIES

Red Hat VEX

RHVEX-CVE-2020-11979

ant: insecure temporary file

Moderate No fix available 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.

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, no fix (out of support scope)
Red Hat:enterprise_linux:7ant-antlr
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7ant-apache-bcel
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7ant-apache-bsf
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7ant-apache-log4j
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7ant-apache-oro
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7ant-apache-regexp
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7ant-apache-resolver
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7ant-apache-xalan2
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7ant-commons-logging
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7ant-commons-net
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7ant-javadoc
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7ant-javamail
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7ant-jdepend
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7ant-jmf
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7ant-jsch
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7ant-junit
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7ant-manual
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7ant-swing
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7ant-testutil
All versions, no fix (out of support scope)

References