Vulnerability · Published Feb 19, 2024 · Assigned by mitre
CVE-2022-48624
High 7.8
In plain English
A high-severity OS command injection in the less package (AlmaLinux). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 65% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.8High
Exploit odds (30 days)1.1%top 35.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
close_altfile in filename.c in less before 606 omits shell_quote calls for LESSCLOSE.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | less | 530-2.el8_9 | ALSA-2024:1610 |
| AlmaLinux:8 | less | 530-3.el8_10 | ALSA-2024:4256 |
| AlmaLinux:9 | less | 590-3.el9_3 | ALSA-2024:1692 |
| Debian:12 | less | 590-2.1~deb12u2 | DSA-5679-1 |
| Debian:12 | less | 590-2.1~deb12u2 | DEBIAN-CVE-2022-48624 |
| Debian:13 | less | 590-2.1 | DEBIAN-CVE-2022-48624 |
| Debian:14 | less | 590-2.1 | DEBIAN-CVE-2022-48624 |
| Rocky Linux:8 | less | 0:530-3.el8_10 | RLSA-2024:4256 |
| Rocky Linux:8 | less | 0:530-2.el8_9 | RLSA-2024:1610 |
| Rocky Linux:9 | less | 0:590-3.el9_3 | RLSA-2024:1692 |
| Ubuntu:22.04:LTS | less | 590-1ubuntu0.22.04.2 | USN-6664-1 |
| Ubuntu:22.04:LTS | less | 590-1ubuntu0.22.04.2 | UBUNTU-CVE-2022-48624 |
| Ubuntu:24.04:LTS | less | 590-2ubuntu1 | UBUNTU-CVE-2022-48624 |
Affected products (as reported)
Weakness: CWE-78 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/gwsw/less/commit/c6ac6de49698be84d264a0c4c0c40bb870b10144
- https://greenwoodsoftware.com/less/
- https://github.com/gwsw/less/compare/v605...v606
- https://security.netapp.com/advisory/ntap-20240605-0010/
- [debian-lts-announce] 20240527 [SECURITY] [DLA 3823-1] less security update mailing-list