USN-6756-1: less vulnerability
29 April 2024
less could be made run programs as your login if it opened a specially crafted file.
Releases
- Ubuntu 24.04 LTS
- Ubuntu 23.10
- Ubuntu 22.04 LTS
- Ubuntu 20.04 LTS
- Ubuntu 18.04 ESM
- Ubuntu 16.04 ESM
- Ubuntu 14.04 ESM
Packages
- less - pager program similar to more
Details
It was discovered that less mishandled newline characters in file names. If
a user or automated system were tricked into opening specially crafted
files, an attacker could possibly use this issue to execute arbitrary
commands on the host.
Update instructions
The problem can be corrected by updating your system to the following package versions:
Ubuntu 24.04
Ubuntu 23.10
Ubuntu 22.04
Ubuntu 20.04
Ubuntu 18.04
-
less
-
487-0.1ubuntu0.1~esm2
Available with Ubuntu Pro
Ubuntu 16.04
-
less
-
481-2.1ubuntu0.2+esm2
Available with Ubuntu Pro
Ubuntu 14.04
-
less
-
458-2ubuntu0.1~esm1
Available with Ubuntu Pro
In general, a standard system update will make all the necessary changes.