Skip to content
Fencer Vulns
medium 6.1

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-rhel8
    affected: 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.el9
    fixed: 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 more
    not 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

Sources

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.