Arbitrary Code Injection Affecting cups-filters-devel package, versions <0:1.28.7-11.el9_2.1


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.79% (82nd 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 Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL9-CUPSFILTERSDEVEL-7869932
  • published3 Sept 2024
  • disclosed17 May 2023

Introduced: 17 May 2023

CVE-2023-24805  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade RHEL:9 cups-filters-devel to version 0:1.28.7-11.el9_2.1 or higher.
This issue was patched in RHSA-2023:3423.

NVD Description

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

cups-filters contains backends, filters, and other software required to get the cups printing service working on operating systems other than macos. If you use the Backend Error Handler (beh) to create an accessible network printer, this security vulnerability can cause remote code execution. beh.c contains the line retval = system(cmdline) &gt;&gt; 8; which calls the system command with the operand cmdline. cmdline contains multiple user controlled, unsanitized values. As a result 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 issue has been addressed in commit 8f2740357 and is expected to be bundled in the next release. Users are advised to upgrade when possible and to restrict access to network printers in the meantime.

CVSS Scores

version 3.1