ADVISORIES

GitHub Advisory Database

GHSA-f62v-xpxf-3v68

Code injection in Apache Ant

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
Mavenorg.apache.ant:ant
All versions before 1.10.9 (fixed in 1.10.9)

References