Arbitrary Command Injection Affecting less package, versions <0:530-2.el8_8


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
1.06% (62nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL8-LESS-6651564
  • published18 Apr 2024
  • disclosed19 Feb 2024

Introduced: 19 Feb 2024

CVE-2022-48624  (opens in a new tab)
CWE-77  (opens in a new tab)

How to fix?

Upgrade RHEL:8 less to version 0:530-2.el8_8 or higher.
This issue was patched in RHSA-2024:1875.

NVD Description

Note: Versions mentioned in the description apply only to the upstream less package and not the less package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

close_altfile in filename.c in less before 606 omits shell_quote calls for LESSCLOSE.

CVSS Base Scores

version 3.1