CVE-2024-0406 json
Mholt/archiver: path traversal vulnerability
published 2024-04-06 2 y ago modified 2026-09-10 1 mo ago also GHSA-rhh4-rh7c-7r5v , GO-2024-2698 , EUVD-2024-1299
- cvss
- 6.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 60%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Red Hat Red Hat OpenShift Container Platform 4.18 v4.18.0-202503051333.p0.g22b273d.assembly.stream.el9
- hauler openSUSE Leap 16.0 1.3.1-bp160.1.1
- subfinder openSUSE Tumbleweed 2.7.0-2.1
- hauler openSUSE Tumbleweed 1.2.2-1.1
opensuse advisories openSUSE-SU-2025:20160-1openSUSE-SU-2025:15004-1openSUSE-SU-2025:14996-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-0406 updated cvss 6.1
mholt/archiver: path traversal vulnerability
-
Red Hat Advanced Cluster Security 3 advanced-cluster-security/rhacs-main-rhel8, advanced-cluster-security/rhacs-roxctl-rhel8, advanced-cluster-security/rhacs-scanner-rhel8affected: no fix planned “Will not fix”
-
Red Hat OpenShift Container Platform 4.18 openshift4/oc-mirror-plugin-rhel9 v4.18.0-202503051333.p0.g22b273d.assembly.stream.el9fixed: vendor fix RHSA-2025:2449
-
Red Hat Advanced Cluster Security 4 advanced-cluster-security/rhacs-main-rhel8, advanced-cluster-security/rhacs-roxctl-rhel8, advanced-cluster-security/rhacs-scanner-rhel8 Red Hat OpenShift Container Platform 4.18 rhcos 418.94.202503061016-0, redhat/redhat-operator-index v4.18, openshift4/ose-etcd-rhel9 v4.18.0-202502262002.p0.gafac40f.assembly.stream.el9, openshift4/ose-tests-rhel9 v4.18.0-202503050303.p0.gc89253a.assembly.stream.el9, openshift4/ose-tools-rhel9 v4.18.0-202503050303.p0.geb9bc9b.assembly.stream.el9, openshift4/ose-ironic-rhel9 v4.18.0-202503061003.p0.gb288ebe.assembly.stream.el9, +36 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.93% chance of exploitation in the next 30 days, higher than 60% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/mholt/archiver/v3 | >=3.0.0, <=3.5.1 all versions |
no fix listed |
| go | github.com/mholt/archiver | >=3.0.0, <=3.5.1 all versions |
no fix listed |
Affected products
- 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
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
access.redhat.com
/errata/RHSA-2025:2449
vendor-advisory, web, third-party-advisory
-
access.redhat.com
/security/cve/CVE-2024-0406
vdb-entry, web, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=2257749
issue-tracking, web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-0406
advisory
-
github.com
/mholt/archiver
package
-
pkg.go.dev
/vuln/GO-2024-2698
web
-
github.com
/advisories/GHSA-rhh4-rh7c-7r5v
advisory
Sources
- CVE List CVE-2024-0406
- GitHub Advisory GHSA-rhh4-rh7c-7r5v
- NVD CVE-2024-0406
- OSV GO-2024-2698
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.