A flaw was found in GNU tar. When extracting an archive with the –one-top-level option, hardlink targets are not confined to the designated top-level directory and may resolve relative to the extraction working directory. A crafted archive can create hardlinks that escape the intended boundary and, when combined with a preexisting symbolic link under the working directory, may allow writing outside that boundary during a single extraction.
The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Tar | Gnu | 1.35 (including) | 1.35 (including) |
| Openshift_container_platform | Redhat | 4.0 (including) | 4.0 (including) |
| Enterprise_linux | Redhat | 8.0 (including) | 8.0 (including) |
| Enterprise_linux | Redhat | 9.0 (including) | 9.0 (including) |
| Enterprise_linux | Redhat | 10.0 (including) | 10.0 (including) |
| Red Hat Enterprise Linux 10 | RedHat | tar-2:1.35-13.el10_2 | * |
| Red Hat Enterprise Linux 8 | RedHat | tar-2:1.30-13.el8_10 | * |
| Red Hat Enterprise Linux 9 | RedHat | tar-2:1.34-13.el9_8 | * |
| Red Hat Discovery 2 | RedHat | discovery/discovery-server-rhel9:1788205779 | * |
| Red Hat Hardened Images | RedHat | tar-main-1.35-9.2.hum1 | * |
| Red Hat Update Infrastructure 5 | RedHat | rhui5/cds-kubernetes-rhel9:1788880445 | * |
| Red Hat Update Infrastructure 5 | RedHat | rhui5/cds-rhel9:1788880464 | * |
| Red Hat Update Infrastructure 5 | RedHat | rhui5/haproxy-rhel9:1788880456 | * |
| Red Hat Update Infrastructure 5 | RedHat | rhui5/installer-rhel9:1788765051 | * |
| Red Hat Update Infrastructure 5 | RedHat | rhui5/rhua-rhel9:1788880581 | * |
| Tar | Ubuntu | devel | * |
| Tar | Ubuntu | esm-infra-legacy/trusty | * |
| Tar | Ubuntu | esm-infra-legacy/xenial | * |
| Tar | Ubuntu | esm-infra/bionic | * |
| Tar | Ubuntu | esm-infra/focal | * |
| Tar | Ubuntu | jammy | * |
| Tar | Ubuntu | noble | * |
| Tar | Ubuntu | resolute | * |