P4 · Info
Extractor writes outside chroot through existing symbolic link in github.com/saracen/fastzip
- GHSA-8gwq-33fg-g56p
- GO-2026-6984
Description
Extractor.Extract checks archive entry paths lexically against the destination chroot and then creates files, directories, and symbolic links using path-based os calls that follow symbolic links already present under the chroot, allowing writes and metadata changes outside the destination directory.
Text from the OSV record.
Recommendation
github.com/saracen/fastzip
- If you run a version before 0.2.1update to 0.2.1 or latergithub.com/saracen/fastzip 0.2.1 on its registry (opens in a new tab)
Taken from the version ranges the sources state. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
github.com/saracen/fastzipGo
Affected versions Fixed in before 0.2.1 0.2.1
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.