Security mailing lists by PureSourceCode

CVE-2024-0406

HIGH 7.8CVSS 3.1

Archiver 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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD mholt archiver
cpe:2.3:a:mholt:archiver:*:*:*:*:*:*:*:*
>= 3.0.0, < 4.0.0 4.0.0
NVD redhat advanced_cluster_security
cpe:2.3:a:redhat:advanced_cluster_security:3.0:*:*:*:*:*:*:*
= 3.0
NVD redhat openshift_container_platform
cpe: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

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.