Skip to content
OpenAdvisories

Description

A flaw was discovered in the mholt/archiver package. This flaw allows an attacker to create a specially crafted tar file, which, when unpacked, may allow access to restricted files or directories. This issue can allow the creation or overwriting of files with the user's or application's privileges using the library.

Affected products

VendorProductAffectedFixed
— archiver v3.0.0 —
Red Hat Red Hat OpenShift Container Platform 4.18 — —
Red Hat Red Hat Advanced Cluster Security 3 — —
Red Hat Red Hat Advanced Cluster Security 4 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed hauler 1.2.2-1.1 openSUSE-SU-2025:14996-1
openSUSE Tumbleweed subfinder 2.7.0-2.1 openSUSE-SU-2025:15004-1
openSUSE Leap 16.0 hauler 1.3.1-bp160.1.1 openSUSE-SU-2025:20160-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling filebrowser 2.45.0-r0 —
Wolfi rolling k9s 0.32.4-r3 —
Wolfi rolling kots 1.128.3-r0 —
Wolfi rolling kubescape 3.0.10-r0 —
Wolfi rolling nuclei 3.2.5-r1 —
Wolfi rolling terragrunt +1 0.64.0-r0 —
Wolfi rolling wolfictl 0.16.6-r1 —
Wolfi rolling zarf 0.33.1-r1 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 2 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/mholt/archiver >= 3.0.0, <= 3.5.1 — GHSA-rhh4-rh7c-7r5v
Go github.com/mholt/archiver all versions — GO-2024-2698
Go github.com/mholt/archiver/v3 >= 3.0.0, <= 3.5.1 — GHSA-rhh4-rh7c-7r5v
Go github.com/mholt/archiver/v3 all versions — GO-2024-2698

Advisories 5

References