MITM can enable Zip-Slip.
Publisher.javaThere is no validation that the zip file being unpacked has entries that are not maliciously writing outside of the intended destination directory.
WebSourceProvider.javaThere is a check for malicious zip entries here, but it is not covered by test cases and could potentially be reverted in future changes.
ZipFetcher.javaThis retains the path for Zip files in FetchedFile entries, which could later be used to output malicious entries to another compressed file or file system.
IGPack2NpmConvertor.javaThe loadZip method retains the path for entries in the zip file, which could later be used to output malicious entries to another compressed file or file system.
{
"cwe_ids": [],
"github_reviewed": true,
"github_reviewed_at": "2023-01-23T22:04:47Z",
"nvd_published_at": null,
"severity": "CRITICAL"
}