| Package | Affected versions | Patched versions |
|---|---|---|
| com.github.junrar:junrar | < 7.5.10 | 7.5.10 |
| junrar | < 7.5.10 | 7.5.10 |
A path traversal vulnerability in LocalFolderExtractor allows an attacker to write arbitrary files with attacker-controlled content into sibling directories when a crafted RAR archive is extracted.
Given an extraction directory set to /tmp/extract, a crafted archive with an entry with the filename as ../extract_evil/file.txt would be actually extracted to /tmp/extract_evil/file.txt.
The createDirectory() and createFile() methods inLocalFolderExtractor validate extraction paths using a string prefix.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free