p PatchFirst

CVE-2023-24805

CVE-2023-24805 · Command injection in cups-filters

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 8.8 · High · EPSS 3.7% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • cups-filters

    Versions
    • <= 2.0rc1: Affected

    No fix published

  • cups-filters Debian:12

    Affected ranges
    • ECOSYSTEM: < 1.28.17-3

    Update to 1.28.17-3

  • cups-filters Debian:13

    Affected ranges
    • ECOSYSTEM: < 1.28.17-3

    Update to 1.28.17-3

  • cups-filters Debian:14

    Affected ranges
    • ECOSYSTEM: < 1.28.17-3

    Update to 1.28.17-3

  • cups-filters Ubuntu:Pro:16.04:LTS

    Versions
    • 1.0.76-1
    • 1.1.0-1
    • 1.1.0-1build1
    • 1.3.0-1
    • 1.4.0-1
    • 1.5.0-1
    • 1.6.0-1
    • 1.7.0-1
    • 1.8.1-1
    • 1.8.2-1
    • 1.8.2-2
    • 1.8.2-2ubuntu2
    • 1.8.2-2ubuntu3
    • 1.8.3-2ubuntu1
    • 1.8.3-2ubuntu2
    • 1.8.3-2ubuntu3
    • 1.8.3-2ubuntu3.1
    • 1.8.3-2ubuntu3.4
    • 1.8.3-2ubuntu3.5
    Affected ranges
    • ECOSYSTEM: < 1.8.3-2ubuntu3.5+esm1

    Update to 1.8.3-2ubuntu3.5+esm1

  • cups-filters Ubuntu:18.04:LTS

    Versions
    • 1.17.9-0ubuntu1
    • 1.17.9-1
    • 1.20.0-2
    • 1.20.1-1
    • 1.20.1-1build1
    • 1.20.2-0ubuntu1
    • 1.20.2-0ubuntu2
    • 1.20.2-0ubuntu3
    • 1.20.2-0ubuntu3.1
    Affected ranges
    • ECOSYSTEM: < 1.20.2-0ubuntu3.3

    Update to 1.20.2-0ubuntu3.3

  • cups-filters Ubuntu:20.04:LTS

    Versions
    • 1.25.11-0ubuntu1
    • 1.25.11-1
    • 1.25.12-1
    • 1.25.13-1
    • 1.26.0-1
    • 1.26.1-1
    • 1.26.2-1
    • 1.27.0-1
    • 1.27.0-2
    • 1.27.1-1
    • 1.27.1-2
    • 1.27.1-3
    • 1.27.2-1
    • 1.27.3-1
    • 1.27.4-1
    Affected ranges
    • ECOSYSTEM: < 1.27.4-1ubuntu0.2

    Update to 1.27.4-1ubuntu0.2

  • cups-filters Ubuntu:22.04:LTS

    Versions
    • 1.28.10-2
    • 1.28.11-1
    • 1.28.11-2
    • 1.28.12-1
    • 1.28.13-0ubuntu1
    • 1.28.14-1
    • 1.28.15-0ubuntu1
    Affected ranges
    • ECOSYSTEM: < 1.28.15-0ubuntu1.2

    Update to 1.28.15-0ubuntu1.2

Original sources

Check your server →