CVEfocus › CVE database › CVE-2024-32487

CVE-2024-32487

CVSS 8.6 HighEPSS 0.8% (higher than 54% of CVEs)Published 2024-04-13Updated 2024-08-02Assigner: mitre

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.

CWE-96

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

13Fixed
3Fix pending
1Will not fix
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04lessFixed590-2ubuntu2.1UBUNTU-CVE-2024-32487
Ubuntu 22.04lessFixed590-1ubuntu0.22.04.3UBUNTU-CVE-2024-32487
Ubuntu 20.04lessFixed551-1ubuntu0.3UBUNTU-CVE-2024-32487
Ubuntu 18.04lessFix pending487-0.1ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2024-32487
Ubuntu 16.04lessFix pending481-2.1ubuntu0.2+esm2 (Ubuntu Pro)UBUNTU-CVE-2024-32487
Ubuntu 14.04lessFix pending458-2ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2024-32487
Debian 14lessFixed590-2.1DEBIAN-CVE-2024-32487
Debian 13lessFixed590-2.1DEBIAN-CVE-2024-32487
Debian 12lessFixed590-2.1~deb12u2DEBIAN-CVE-2024-32487
Red Hat Enterprise Linux 10lessNot affected
Red Hat Enterprise Linux 9lessFixed0:590-4.el9_4RHSA-2024:3513
Red Hat Enterprise Linux 8lessFixed0:530-3.el8_10RHSA-2024:4256
Red Hat Enterprise Linux 7lessFixed0:458-10.el7_9RHSA-2024:3669
Red Hat Enterprise Linux 6lessWill not fix
Out of support scope
AlmaLinux 9lessFixed590-4.el9_4ALSA-2024:3513
AlmaLinux 8lessFixed530-3.el8_10ALSA-2024:4256
Rocky Linux 9lessFixed0:590-4.el9_4RLSA-2024:3513
Rocky Linux 8lessFixed0:530-3.el8_10RLSA-2024:4256

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.