cve.bz

CVE-2024-0406 Path traversal

7.8 highEPSS 0.9%Fix available

High (7.8). EPSS 0.9% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.9% (unchanged from 0.9% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 61st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-04-09. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
Assigned by
redhat (CNA)
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-0406 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-0406?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-0406?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-0406 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat OpenShift Container Platform 4.18v4.18.0-202503051333.p0.g22b273d.assembly.stream.el9

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-rhh4-rh7c-7r5vGogithub.com/mholt/archiver/v3>=3.0.0 <=3.5.1no fix published
GHSA-rhh4-rh7c-7r5vGogithub.com/mholt/archiver>=3.0.0 <=3.5.1no fix published
GO-2024-2698Gogithub.com/mholt/archiverall versionsno fix published
GO-2024-2698Gogithub.com/mholt/archiver/v3all versionsno fix published

Linux distributions

DistributionReleasePackageFixed inAdvisory
openSUSELeap 16.0hauler1.3.1-bp160.1.1openSUSE-SU-2025:20160-1
openSUSETumbleweedhauler1.2.2-1.1openSUSE-SU-2025:14996-1
openSUSETumbleweedsubfinder2.7.0-2.1openSUSE-SU-2025:15004-1

From the distributions' data via OSV.dev: SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This is a path traversal vulnerability in v3 of mhol/archiver and has been marked as moderate for a variety of reasons.

First and foremost the attacker in order to exploit this vulnerability would require local files system/code execution level access, this cannot be exploited on a network level, secondly, the successful exploitation of this vulnerability only result in overwriting of files, not denial of service due to resource exhaustion and no code execution, keeping all these things in mind redhat has assigned this as moderate impact.

ProductPackageStateAdvisory
Red Hat OpenShift Container Platform 4.18openshift4/oc-mirror-plugin-rhel9:v4.18.0-202503051333.p0.g22b273d.assembly.stream.el9Fixed 2025-03-11RHSA-2025:2449
Red Hat Advanced Cluster Security 3advanced-cluster-security/rhacs-main-rhel8Will not fix
Red Hat Advanced Cluster Security 3advanced-cluster-security/rhacs-roxctl-rhel8Will not fix
Red Hat Advanced Cluster Security 3advanced-cluster-security/rhacs-scanner-rhel8Will not fix
Red Hat Advanced Cluster Security 4advanced-cluster-security/rhacs-main-rhel8Not affected
Red Hat Advanced Cluster Security 4advanced-cluster-security/rhacs-roxctl-rhel8Not affected
Red Hat Advanced Cluster Security 4advanced-cluster-security/rhacs-scanner-rhel8Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-0406.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON