Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-0406

MEDIUM 6.1EPSS 65%

Mholt/archiver: path traversal vulnerability

Also known as GHSA-rhh4-rh7c-7r5v, GO-2024-2698

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Projects that depend on Go package github.com/mholt/archiver/v3 (>= 3.0.0, <= 3.5.1)
  • Projects that depend on Go package github.com/mholt/archiver (>= 3.0.0, <= 3.5.1)
  • Anyone running archiver >= v3.0.0, < *
  • Anyone running Red Hat OpenShift Container Platform 4.18 all versions
  • Anyone running Red Hat Advanced Cluster Security 3 all versions
  • Anyone running Red Hat Advanced Cluster Security 4 (versions: see the vendor advisory)

Vulnerability facts

Affected
github.com/mholt/archiver/v3 >= 3.0.0, <= 3.5.1; github.com/mholt/archiver >= 3.0.0, <= 3.5.1
Fixed in
No fix listed yet
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
6.1 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: Required
  • Scope: Unchanged
  • Confidentiality impact: Low
  • Integrity impact: High
  • Availability impact: None
EPSS
1.10% chance of exploitation in 30 days (percentile 65, 2026-11-26)
CWE
CWE-22
Published
Modified

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 and fixed versions

Package / productAffectedFixedSource
Go github.com/mholt/archiver/v3>= 3.0.0, <= 3.5.1—osv
Go github.com/mholt/archiver>= 3.0.0, <= 3.5.1—osv
archiver>= v3.0.0, < *—cvelist
Red Hat OpenShift Container Platform 4.18all versions—cvelist
Red Hat Advanced Cluster Security 3all versions—cvelist
Red Hat Advanced Cluster Security 3all versions—cvelist
Red Hat Advanced Cluster Security 3all versions—cvelist
Red Hat Advanced Cluster Security 4——cvelist
Red Hat Advanced Cluster Security 4——cvelist
Red Hat Advanced Cluster Security 4——cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-0406. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-0406.md
Affected: github.com/mholt/archiver/v3 >= 3.0.0, <= 3.5.1; github.com/mholt/archiver >= 3.0.0, <= 3.5.1
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for github.com/mholt/archiver/v3 (Go), github.com/mholt/archiver (Go), archiver, Red Hat OpenShift Container Platform 4.18, Red Hat Advanced Cluster Security 3, Red Hat Advanced Cluster Security 4: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-0406 being exploited?

There is no confirmed exploitation: CVE-2024-0406 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.10% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-0406?

Medium: CVSS 6.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

Which versions are affected by CVE-2024-0406?

github.com/mholt/archiver/v3 >= 3.0.0, <= 3.5.1; github.com/mholt/archiver >= 3.0.0, <= 3.5.1.

Is there a fix for CVE-2024-0406?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2024-0406?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors