7.8
CWE
22
Advisory Published
CVE Published
Advisory Published
Updated

CVE-2024-0406: Mholt/archiver: path traversal vulnerability

First published: Wed Jan 10 2024(Updated: )

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.

Credit: secalert@redhat.com secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
redhat/mholt<4
4
go/github.com/mholt/archiver>=3.0.0<=3.5.1
go/github.com/mholt/archiver/v3>=3.0.0<=3.5.1
Mholt Archiver>=3.0.0<4.0.0
Red Hat Advanced Cluster Security=3.0
Red Hat OpenShift Container Platform>=4.18<4.18.4

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2024-0406?

    CVE-2024-0406 is considered a high severity vulnerability due to its potential to allow unauthorized access to restricted files.

  • How do I fix CVE-2024-0406?

    To remediate CVE-2024-0406, upgrade the mholt/archiver package to version 4 or later or ensure you are using an unaffected version of the package.

  • Which versions of mholt/archiver are affected by CVE-2024-0406?

    CVE-2024-0406 affects mholt/archiver versions from 3.0.0 to 3.5.1 inclusive, as well as mholt package version prior to 4.

  • What kind of attacks can CVE-2024-0406 facilitate?

    CVE-2024-0406 can facilitate attacks that involve the crafting of malicious tar files to gain unauthorized access to systems and files.

  • Is CVE-2024-0406 related to any specific platforms or environments?

    CVE-2024-0406 impacts users of the mholt/archiver package across various environments, including those using Go.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203