Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2025-3445

Опубликовано: 13 апр. 2025
Источник: redhat
CVSS3: 8.1
EPSS Низкий

Описание

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.

A Path Traversal "Zip Slip" vulnerability was found in the 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, the Unarchive functionality with ZIP files, archiver.Unarchive(zipFile, outputDir),  allows a crafted ZIP file to be extracted, where 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.

Отчет

While the "Zip Slip" vulnerability in mholt/archiver has severe implications, it is categorized as important rather than critical due to its reliance on specific conditions for exploitation. Successful exploitation requires the application to process untrusted ZIP input and extract it using the vulnerable Unarchive() function without prior validation. Moreover, the impact is confined to the privileges of the running process—meaning the extent of damage depends on the context in which the application is executed. If the application runs with limited permissions (e.g., as a non-root user), the ability to overwrite system-critical files or achieve full remote code execution is significantly reduced.

Меры по смягчению последствий

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
OpenShift Serverlessopenshift-serverless-1/kn-plugin-event-sender-rhel8Not affected
Red Hat Advanced Cluster Security 4advanced-cluster-security/rhacs-main-rhel8Not affected
Red Hat Advanced Cluster Security 4advanced-cluster-security/rhacs-scanner-rhel8Not affected
Red Hat OpenShift Container Platform 4openshift4/oc-mirror-plugin-rhel9Not affected

Показывать по

Дополнительная информация

Статус:

Important
Дефект:
CWE-22
https://bugzilla.redhat.com/show_bug.cgi?id=2359334mholt/archiver: A Path Traversal "Zip Slip" vulnerability in mholt/archiver

EPSS

Процентиль: 26%
0.00085
Низкий

8.1 High

CVSS3

Связанные уязвимости

CVSS3: 8.1
nvd
5 месяцев назад

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

CVSS3: 8.1
github
5 месяцев назад

mholt/archiver Vulnerable to Path Traversal via Crafted ZIP File

EPSS

Процентиль: 26%
0.00085
Низкий

8.1 High

CVSS3