Logo
componentless
Name
less
Version
600
Type
library
Description
Text file viewer similar to more
Licenses
GPL-3.0-or-later | BSD-2-Clause
PURL
-
CPE
cpe:2.3:*:gnu:less:600:*:*:*:*:*:*:*

Other Versions#


Project
Branch
Version
master
704
scarthgap
643

Patches#


#
Title
Author
Resolve
1
Shell-quote filenames when invoking LESSCLOSE.
Mark Nudelman <markn@greenwoodsoftware.com>
CVE-2022-48624
2
End OSC8 hyperlink on invalid embedded escape sequence.
Mark Nudelman <markn@greenwoodsoftware.com>
CVE-2022-46663
3
Fix bug when viewing a file whose name contains a newline.
Mark Nudelman <markn@greenwoodsoftware.com>
CVE-2024-32487

Vulnerabilities#


Name
Analysis
Description
Patched
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.
Patched
close_altfile in filename.c in less before 606 omits shell_quote calls for LESSCLOSE.
Patched
In GNU Less before 609, crafted data can result in "less -R" not filtering ANSI escape sequences sent to the terminal.