A flaw was found in libXpm. When processing files with .Z or .gz extensions, the library calls external programs to compress and uncompress files, relying on the PATH environment variable to find these programs, which could allow a malicious user to execute other programs by manipulating the PATH environment variable.
The product searches for critical resources using an externally-supplied search path that can point to resources that are not under the product’s direct control.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Libxpm | X.org | * | 3.5.15 (excluding) |
Red Hat Enterprise Linux 7 | RedHat | libXpm-0:3.5.12-2.el7_9 | * |
Red Hat Enterprise Linux 8 | RedHat | libXpm-0:3.5.12-9.el8_7 | * |
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutions | RedHat | libXpm-0:3.5.12-9.el8_1 | * |
Red Hat Enterprise Linux 8.2 Advanced Update Support | RedHat | libXpm-0:3.5.12-9.el8_2 | * |
Red Hat Enterprise Linux 8.2 Telecommunications Update Service | RedHat | libXpm-0:3.5.12-9.el8_2 | * |
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions | RedHat | libXpm-0:3.5.12-9.el8_2 | * |
Red Hat Enterprise Linux 8.4 Extended Update Support | RedHat | libXpm-0:3.5.12-9.el8_4 | * |
Red Hat Enterprise Linux 8.6 Extended Update Support | RedHat | libXpm-0:3.5.12-9.el8_6 | * |
Red Hat Enterprise Linux 9 | RedHat | libXpm-0:3.5.13-8.el9_1 | * |
Red Hat Enterprise Linux 9.0 Extended Update Support | RedHat | libXpm-0:3.5.13-8.el9_0 | * |
Libxpm | Ubuntu | bionic | * |
Libxpm | Ubuntu | esm-infra-legacy/trusty | * |
Libxpm | Ubuntu | esm-infra/xenial | * |
Libxpm | Ubuntu | focal | * |
Libxpm | Ubuntu | jammy | * |
Libxpm | Ubuntu | kinetic | * |
Libxpm | Ubuntu | lunar | * |
Libxpm | Ubuntu | trusty | * |
Libxpm | Ubuntu | trusty/esm | * |
Libxpm | Ubuntu | upstream | * |
Libxpm | Ubuntu | xenial | * |
Motif | Ubuntu | bionic | * |
Motif | Ubuntu | kinetic | * |
Motif | Ubuntu | lunar | * |
Motif | Ubuntu | mantic | * |
Motif | Ubuntu | trusty | * |
Motif | Ubuntu | trusty/esm | * |
Motif | Ubuntu | xenial | * |
This might allow attackers to execute their own programs, access unauthorized data files, or modify configuration in unexpected ways. If the product uses a search path to locate critical resources such as programs, then an attacker could modify that search path to point to a malicious program, which the targeted product would then execute. The problem extends to any type of critical resource that the product trusts. Some of the most common variants of untrusted search path are: