Arbitrary Command Injection Affecting less package, versions <0:590-3.el9_3


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-RHEL9-LESS-7878502
  • published3 Sept 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:9 less to version 0:590-3.el9_3 or higher.
This issue was patched in RHSA-2024:1692.

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:9 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