A flaw was found in Gradle. When unpacking Tar archives, Gradle did not check that files could be written outside the unpack location. This issue could lead to important files being overwritten anywhere the Gradle process has write permissions. This flaw allows an attacker with control of an archive’s source used by the build or capability to modify the build to interact with a malicious archive and overwrite existing archives or extract information from sensitive files.
There is currently no known mitigation for this issue.