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


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.05% (18th 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 Learn

Learn about Arbitrary Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL8-LESS-6680204
  • published27 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_6 or higher.
This issue was patched in RHSA-2024:1989.

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 Scores

version 3.1