react-native-zip-archive is vulnerable to Path Traversal
65
Medium Risk
The Android unzip and unzipWithPassword methods extract archives with the bundled zip4j library using its default parameters, which extract symbolic link entries. zip4j does not verify that a symlink's resolved target stays inside the destination directory, so a crafted archive can plant a symbolic link that points outside the extraction root. An attacker who supplies a malicious archive can cause a link to be created outside the intended destination directory, enabling a Zip Slip-style escape and writing or overwriting files outside that directory. The fix extracts entries with symlink extraction disabled so such entries are skipped.
You are affected if you are using a version that falls within the vulnerable range and your application extracts untrusted archives on Android.
react-native-zip-archive is vulnerable to Path Traversal in versions 6.0.9 - 9.0.1.
Upgrade the react-native-zip-archive library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant