less through 653 allows OS command execution via a newline character in the name of a file, because quoting is mishandled in filename.c. Exploitation typically requires use with attacker-controlled file names, such as the files extracted from an untrusted archive. Exploitation also requires the LESSOPEN environment variable, but this is set by default in many common cases.
The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes code syntax before inserting the input into an executable resource, such as a library, configuration file, or template.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Red Hat Enterprise Linux 7 | RedHat | less-0:458-10.el7_9 | * |
Red Hat Enterprise Linux 8 | RedHat | less-0:530-3.el8_10 | * |
Red Hat Enterprise Linux 8.2 Advanced Update Support | RedHat | less-0:530-2.el8_2 | * |
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | RedHat | less-0:530-2.el8_4 | * |
Red Hat Enterprise Linux 8.4 Telecommunications Update Service | RedHat | less-0:530-2.el8_4 | * |
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions | RedHat | less-0:530-2.el8_4 | * |
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | RedHat | less-0:530-3.el8_6 | * |
Red Hat Enterprise Linux 8.6 Telecommunications Update Service | RedHat | less-0:530-3.el8_6 | * |
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | RedHat | less-0:530-3.el8_6 | * |
Red Hat Enterprise Linux 8.8 Extended Update Support | RedHat | less-0:530-3.el8_8 | * |
Red Hat Enterprise Linux 9 | RedHat | less-0:590-4.el9_4 | * |
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | RedHat | less-0:590-2.el9_0 | * |
Red Hat Enterprise Linux 9.2 Extended Update Support | RedHat | less-0:590-3.el9_2 | * |
Less | Ubuntu | devel | * |
Less | Ubuntu | esm-infra/bionic | * |
Less | Ubuntu | esm-infra/xenial | * |
Less | Ubuntu | focal | * |
Less | Ubuntu | jammy | * |
Less | Ubuntu | mantic | * |
Less | Ubuntu | noble | * |
Less | Ubuntu | trusty/esm | * |
Less | Ubuntu | upstream | * |