GHSA-f62v-xpxf-3v68

Code injection in Apache Ant

At a glance

Published
Updated
CVE
CVE-2020-11979
Aliases
BIT-gradle-2020-11979, GHSA-j45w-qrgf-25vm
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Description

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

PackageVersions
Maven · org.apache.ant:antintroduced 0, fixed 1.10.9

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database