8.1
CWE
22
EPSS
0.120%
Advisory Published
Advisory Published
Updated

CVE-2025-3445: Path Traversal

First published: Sun Apr 13 2025(Updated: )

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.

Credit: reefs@jfrog.com

Affected SoftwareAffected VersionHow to fix
go/github.com/mholt/archiver/v3<=3.5.1
go/github.com/mholt/archiver<=3.5.1
Mholt Archiver=

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2025-3445?

    CVE-2025-3445 is considered a high-severity vulnerability due to its potential for file overwriting with user privileges.

  • How do I fix CVE-2025-3445?

    To fix CVE-2025-3445, update to a version of mholt/archiver that addresses the path traversal vulnerability.

  • What systems are impacted by CVE-2025-3445?

    CVE-2025-3445 impacts any system using the mholt/archiver library in Go that processes ZIP files.

  • What type of vulnerability is CVE-2025-3445?

    CVE-2025-3445 is a Path Traversal vulnerability also known as a 'Zip Slip' vulnerability.

  • Can CVE-2025-3445 lead to remote code execution?

    While CVE-2025-3445 primarily allows file overwriting, it can lead to potential remote code execution if the overwritten files are subsequently executed.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203