CVE-2022-48624
NixOS vulnerability analysis and mitigation

Overview

A vulnerability was identified in the less utility (CVE-2022-48624) affecting versions prior to 606. The vulnerability exists in the close_altfile() function in filename.c, where shell_quote calls for LESSCLOSE are omitted, potentially leading to security issues when processing files (Red Hat Portal, CVE Mitre).

Technical details

The vulnerability specifically affects the close_altfile() function in filename.c of the less utility. The issue stems from the omission of shell_quote calls for LESSCLOSE, a command line used to invoke optional functionality. This vulnerability was addressed in version 606 of the software through the addition of proper shell quoting for filenames when invoking LESSCLOSE (Github Commit).

Impact

The successful exploitation of this vulnerability could lead to disclosure of sensitive information, addition or modification of data, or Denial of Service (DoS). The vulnerability has received a CVSS score of 8.4 (HIGH) with the vector CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NetApp Advisory).

Mitigation and workarounds

The vulnerability has been fixed in less version 606 and later. Various distributions have released security updates to address this vulnerability. For example, Red Hat has released updates for their Enterprise Linux platform, and Debian has addressed this in version 487-0.1+deb10u1 for Debian 10 (Debian LTS, Red Hat Advisory).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-69264CRITICAL9.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69263HIGH8.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69262HIGH7.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-20807MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2026-21885MEDIUM6.5
  • NixOSNixOS
  • miniflux
NoYesJan 08, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management