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.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/saracen/fastzip | < 0.2.1 | 0.2.1 | GO-2026-6984 |
References
- https://github.com/saracen/fastzip/security/advisories/GHSA-8gwq-33fg-g56p advisory
- https://github.com/saracen/fastzip/commit/99c2a5cf69d769da532c6ebb6a26a67a817f6101 fix
- https://github.com/saracen/fastzip/releases/tag/v0.2.1 web
- https://gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/7500 web
- https://gitlab.com/gitlab-org/gitlab-runner/-/work_items/39687 web