Vulnerability CVE-2023-24805: Information

Description

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) >> 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.

Severity: HIGH (8.8) Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Published: May 17, 2023
Modified: Jan. 5, 2024
Error type identifier: CWE-78

Fixed packages

Package name
Branch
Fixed in version
Version from repository
Errata ID
Task #
State
cups-filterssisyphus2.0-alt0.rc22.0.0-alt1ALT-PU-2023-4532-2323309Fixed
cups-filterssisyphus_e2k2.0-alt0.rc22.0.0-alt1ALT-PU-2023-4672-1-Fixed
cups-filterssisyphus_riscv642.0-alt0.rc22.0.0-alt1ALT-PU-2023-4619-1-Fixed
cups-filtersp101.28.11-alt21.28.11-alt2ALT-PU-2023-2064-1323371Fixed
cups-filtersp10_e2k1.28.11-alt21.28.11-alt2ALT-PU-2023-3979-1-Fixed
cups-filtersp91.28.8-alt21.28.8-alt2ALT-PU-2023-2053-1323375Fixed
cups-filtersp9_e2k1.28.8-alt21.28.8-alt2ALT-PU-2023-5372-1-Fixed
cups-filtersp81.20.4-alt4.M80P.11.20.4-alt4.M80P.1ALT-PU-2023-2051-1323378Fixed
cups-filtersc10f11.28.11-alt21.28.11-alt2ALT-PU-2023-2052-1323372Fixed
cups-filtersc9f21.28.8-alt21.28.8-alt2ALT-PU-2023-2084-1323376Fixed

References to Advisories, Solutions, and Tools

    1. Configuration 1

      cpe:2.3:a:linuxfoundation:cups-filters:2.0:beta2:*:*:*:*:*:*

      cpe:2.3:a:linuxfoundation:cups-filters:2.0:beta3:*:*:*:*:*:*

      cpe:2.3:a:linuxfoundation:cups-filters:2.0:rc1:*:*:*:*:*:*

      cpe:2.3:a:linuxfoundation:cups-filters:2.0:beta1:*:*:*:*:*:*

      cpe:2.3:a:linuxfoundation:cups-filters:*:*:*:*:*:*:*:*
      End excliding
      2.0

      Configuration 2

      cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*

      cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*

      Configuration 3

      cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*

      cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*