First published: Thu May 11 2023(Updated: )
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.
Credit: security-advisories@github.com security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/cups-filters | <0:1.20.0-29.el8_8.2 | 0:1.20.0-29.el8_8.2 |
redhat/cups-filters | <0:1.20.0-18.el8_1.1 | 0:1.20.0-18.el8_1.1 |
redhat/cups-filters | <0:1.20.0-19.el8_2.1 | 0:1.20.0-19.el8_2.1 |
redhat/cups-filters | <0:1.20.0-24.el8_4.1 | 0:1.20.0-24.el8_4.1 |
redhat/cups-filters | <0:1.20.0-27.el8_6.1 | 0:1.20.0-27.el8_6.1 |
redhat/cups-filters | <0:1.28.7-11.el9_2.1 | 0:1.28.7-11.el9_2.1 |
redhat/cups-filters | <0:1.28.7-10.el9_0.1 | 0:1.28.7-10.el9_0.1 |
debian/cups-filters | <=1.21.6-5 | 1.21.6-5+deb10u1 1.28.7-1+deb11u2 1.28.17-3 |
debian/cups-filters | <=1.28.7-1<=1.28.7-1+deb11u1<=1.28.17-2 | 1.28.17-3 1.28.7-1+deb11u2 |
linuxfoundation cups-filters | <2.0 | |
linuxfoundation cups-filters | =2.0-beta1 | |
linuxfoundation cups-filters | =2.0-beta2 | |
linuxfoundation cups-filters | =2.0-beta3 | |
linuxfoundation cups-filters | =2.0-rc1 | |
Fedoraproject Fedora | =37 | |
Fedoraproject Fedora | =38 | |
Debian Debian Linux | =10.0 | |
Debian Debian Linux | =11.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
(Appears in the following advisories)
CVE-2023-24805 is a vulnerability found in cups-filters that can lead to remote code execution if the Backend Error Handler (beh) is used to create an accessible network printer.
The vulnerability in cups-filters occurs when the Backend Error Handler (beh) is used to create an accessible network printer.
CVE-2023-24805 has a severity rating of 8.8, indicating a high severity.
The affected software versions include cups-filters 1.20.0-29.el8_8.2, 1.20.0-18.el8_1, 1.20.0-19.el8_2, 1.20.0-24.el8_4, 1.20.0-27.el8_6, 1.28.7-11.el9_2.1, and 1.28.7-10.el9_0.1.
To mitigate the vulnerability in cups-filters, it is recommended to update to the latest version of the software, such as cups-filters 1.21.6-5+deb10u1, 1.28.7-1+deb11u2, or 1.28.17-3, depending on your distribution.