CVE-2023-24805
NixOS vulnerability analysis and mitigation

Overview

CVE-2023-24805 affects cups-filters, a package containing backends, filters, and other software required for CUPS printing service on non-macOS operating systems. The vulnerability was discovered in May 2023 and affects the Backend Error Handler (beh) component when used to create an accessible network printer (NVD, GitHub Advisory).

Technical details

The vulnerability exists in the beh.c file where the system command is called with user-controlled, unsanitized values. The issue stems from the line retval = system(cmdline) >> 8 where cmdline contains multiple unsanitized user inputs. The vulnerability has been assigned a CVSS v3.1 base score of 8.8 (High) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (GitHub Advisory).

Impact

An attacker with network access to the hosted print server can exploit this vulnerability to inject system commands which are executed in the context of the running server. This allows for remote code execution with the privileges of the CUPS service (NVD, GitHub Advisory).

Mitigation and workarounds

The issue has been addressed in commit 8f274035 by replacing the system() call with execv() and implementing additional input sanitization checks. Users are advised to upgrade to patched versions when available and restrict access to network printers in the meantime. Multiple distributions have released security updates including Debian, Red Hat, and Fedora (Debian Advisory, 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-61619HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61618HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61617HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61610HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-65622MEDIUM5.4
  • PHPPHP
  • snipe/snipe-it
NoYesDec 01, 2025

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