CVE-2024-32487
Published: 13 April 2024
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.
Priority
Status
Package | Release | Status |
---|---|---|
less Launchpad, Ubuntu, Debian |
bionic |
Released
(487-0.1ubuntu0.1~esm2)
Available with Ubuntu Pro or Ubuntu Pro (Infra-only) |
focal |
Released
(551-1ubuntu0.3)
|
|
jammy |
Released
(590-1ubuntu0.22.04.3)
|
|
mantic |
Released
(590-2ubuntu0.23.10.2)
|
|
noble |
Released
(590-2ubuntu2.1)
|
|
trusty |
Released
(458-2ubuntu0.1~esm1)
Available with Ubuntu Pro or Ubuntu Pro (Infra-only) |
|
upstream |
Released
(590-2.1)
|
|
xenial |
Released
(481-2.1ubuntu0.2+esm2)
Available with Ubuntu Pro or Ubuntu Pro (Infra-only) |
|
Patches: upstream: https://github.com/gwsw/less/commit/007521ac3c95bc76e3d59c6dbfe75d06c8075c33 |