CVE-2024-0406
HIGH 7.8CVSS 3.1Archiver Path Traversal vulnerability
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.
- Published
- 6 Apr 2024
- Last modified
- 10 Sep 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Analyzed
- Weakness
- CWE-22
- Also known as
- GHSA-rhh4-rh7c-7r5vGO-2024-2698
- Sources
- NVDJSONOSV GHSA-rhh4-rh7c-7r5vJSONOSV GO-2024-2698JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mholt | archivercpe:2.3:a:mholt:archiver:*:*:*:*:*:*:*:* |
>= 3.0.0, < 4.0.0 | 4.0.0 |
| NVD | redhat | advanced_cluster_securitycpe:2.3:a:redhat:advanced_cluster_security:3.0:*:*:*:*:*:*:* |
= 3.0 | |
| NVD | redhat | openshift_container_platformcpe:2.3:a:redhat:openshift_container_platform:*:*:*:*:*:*:*:* |
>= 4.18, < 4.18.4 | 4.18.4 |
| OSV | 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 | Go | github.com/mholt/archiver | all versions | |
| OSV | Go | github.com/mholt/archiver/v3 | all versions |
References
- https://access.redhat.com/errata/RHSA-2025:2449 · Third Party Advisory, WEB
- https://access.redhat.com/security/cve/CVE-2024-0406 · Third Party Advisory, WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2257749 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-0406 · ADVISORY
- https://github.com/mholt/archiver · PACKAGE
- https://pkg.go.dev/vuln/GO-2024-2698 · WEB
- https://github.com/advisories/GHSA-rhh4-rh7c-7r5v · ADVISORY
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 6 Apr 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Jun 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Apr 2024)