CVE-2025-3445
Description
A Path Traversal "Zip Slip" vulnerability has been identified in mholt/archiver in Go. This vulnerability allows using a crafted ZIP file containing path traversal symlinks to create or overwrite files with the user's privileges or application utilizing the library.
When using the archiver.Unarchive functionality with ZIP files, like this: archiver.Unarchive(zipFile, outputDir), A crafted ZIP file can be extracted in such a way that it writes files to the affected system with the same privileges as the application executing this vulnerable functionality. Consequently, sensitive files may be overwritten, potentially leading to privilege escalation, code execution, and other severe outcomes in some cases.
It's worth noting that a similar vulnerability was found in TAR files (CVE-2024-0406). Although a fix was implemented, it hasn't been officially released, and the affected project has since been deprecated. The successor to mholt/archiver is a new project called mholt/archives, and its initial release (v0.1.0) removes the Unarchive() functionality.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/mholt/archiverGo | <= 3.5.1 | — |
github.com/mholt/archiver/v3Go | <= 3.5.1 | — |
Affected products
21- osv-coords21 versionspkg:apk/chainguard/filebrowserpkg:apk/chainguard/filebrowser-compatpkg:apk/chainguard/kotspkg:apk/chainguard/mattermost-10.7pkg:apk/chainguard/mattermost-10.9pkg:apk/chainguard/mattermost-10.9-compatpkg:apk/chainguard/mattermost-9.11pkg:apk/chainguard/mattermost-9.11-compatpkg:apk/chainguard/mattermost-fips-10.9pkg:apk/chainguard/mattermost-fips-10.9-compatpkg:apk/chainguard/vault-1.16pkg:apk/wolfi/filebrowserpkg:apk/wolfi/filebrowser-compatpkg:apk/wolfi/kotspkg:apk/wolfi/mattermost-10.7pkg:apk/wolfi/mattermost-10.9pkg:apk/wolfi/mattermost-10.9-compatpkg:golang/github.com/mholt/archiverpkg:golang/github.com/mholt/archiver/v3pkg:rpm/opensuse/forgejo&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Tumbleweed
< 2.32.0-r7+ 20 more
- (no CPE)range: < 2.32.0-r7
- (no CPE)range: < 2.32.0-r7
- (no CPE)range: < 1.128.3-r0
- (no CPE)range: < 10.7.4-r5
- (no CPE)range: < 10.9.2-r1
- (no CPE)range: < 10.9.2-r1
- (no CPE)range: < 9.11.12-r1
- (no CPE)range: < 9.11.12-r1
- (no CPE)range: < 10.9.2-r1
- (no CPE)range: < 10.9.2-r1
- (no CPE)range: < 1.16.3-r37
- (no CPE)range: < 2.32.0-r7
- (no CPE)range: < 2.32.0-r7
- (no CPE)range: < 1.128.3-r0
- (no CPE)range: < 10.7.4-r5
- (no CPE)range: < 10.9.2-r1
- (no CPE)range: < 10.9.2-r1
- (no CPE)range: <= 3.5.1
- (no CPE)range: <= 3.5.1
- (no CPE)range: < 10.0.3-2.1
- (no CPE)range: < 0.0.20250807T150727-1.1
Patches
Vulnerability mechanics
References
4News mentions
0No linked articles in our index yet.