Insecure Temporary File Handling in Apache Ant 1.10.8

Insecure Temporary File Handling in Apache Ant 1.10.8

CVE-2020-11979 · HIGH Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

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.

Learn more about our Cis Benchmark Audit For Apache Http Server.