Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2024-0406: A flaw was discovered in the mholt/archiver package

41
This month
MEDIUM 6.1WATCHLISTUPGRADEDOWNGRADEUPGRADE

CVE-2024-0406 is a medium-severity flaw (CVSS 6.1) affecting archiver, advanced cluster security, openshift container platform. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • On your watchlist

A fixed release or distro patch exists.

Risk facts

CVSS score6.1 (Medium)
Attack vectorLocal
Attack complexityLow
Privileges neededNone
User interactionRequired
EPSS exploit chance0.9% (top 40%)
CISA exploited listNo
WeaknessCWE-22
Published2024-04-06
Last modified2026-06-17
Publisher (CNA): Red Hat, Inc. · Vendor: mholt · redhat

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

mholt archiver UPGRADE
Affected: >= 3.0.0 and < 4.0.0
Fixed in: 4.0.0
Safe to downgrade to: a release before 3.0.0
1. Check installed version
apt-cache policy archiver || rpm -q archiver || archiver --version
2. UPGRADE to 4.0.0 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade archiver
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade archiver
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 3.0.0 (Debian / Ubuntu)
apt-cache madison archiver sudo apt install archiver=<VERSION_BEFORE_3.0.0> sudo apt-mark hold archiver
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list archiver sudo dnf downgrade archiver-<VERSION_BEFORE_3.0.0> sudo dnf versionlock add archiver
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
redhat advanced cluster security DOWNGRADE
Affected: 3.0
Fixed in: no fixed release known
Safe to downgrade to: a release before 3.0
1. Check installed version
apt-cache policy advanced-cluster-security || rpm -q advanced-cluster-security || advanced-cluster-security --version
2. No fixed release: DOWNGRADE to a release before 3.0 (Debian / Ubuntu)
apt-cache madison advanced-cluster-security sudo apt install advanced-cluster-security=<VERSION_BEFORE_3.0> sudo apt-mark hold advanced-cluster-security
2. No fixed release: DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list advanced-cluster-security sudo dnf downgrade advanced-cluster-security-<VERSION_BEFORE_3.0> sudo dnf versionlock add advanced-cluster-security
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
redhat openshift container platform UPGRADE
Affected: >= 4.18 and < 4.18.4
Fixed in: 4.18.4
Safe to downgrade to: a release before 4.18
1. Check installed version
apt-cache policy openshift-container-platform || rpm -q openshift-container-platform || openshift-container-platform --version
2. UPGRADE to 4.18.4 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade openshift-container-platform
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade openshift-container-platform
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 4.18 (Debian / Ubuntu)
apt-cache madison openshift-container-platform sudo apt install openshift-container-platform=<VERSION_BEFORE_4.18> sudo apt-mark hold openshift-container-platform
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list openshift-container-platform sudo dnf downgrade openshift-container-platform-<VERSION_BEFORE_4.18> sudo dnf versionlock add openshift-container-platform
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2024-0406?

archiver: upgrade to 4.0.0; advanced cluster security: downgrade or apply the listed mitigation; openshift container platform: upgrade to 4.18.4. Exact commands for each OS are on this page.

Is CVE-2024-0406 being exploited?

CVE-2024-0406 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2024-0406 affect?

CVE-2024-0406 affects archiver, advanced cluster security, openshift container platform. Severity is medium (CVSS 6.1). 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 overwr

How urgent is CVE-2024-0406?

Priority 41/100. On your watchlist

Software pages

Red Hat OpenShift vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.