|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.|
|Source||CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)|
|References||DLA-3430-1, DSA-5407-1, ELA-852-1|
Vulnerable and fixed packages
The table below lists information on source packages.
|cups-filters (PTS)||jessie, jessie (lts)||1.0.61-5+deb8u4||fixed|
|stretch (lts), stretch||1.11.6-3+deb9u2||fixed|
|sid, trixie, bookworm||1.28.17-3||fixed|
The information below is based on the following data on fixed versions.
Fixed by: https://github.com/OpenPrinting/cups-filters/commit/8f274035756c04efeb77eb654e9d4c4447287d65 (master)
Fixed by: https://github.com/OpenPrinting/cups-filters/commit/93e60d3df358c0ae6f3dba79e1c9684657683d89 (1.x)
[jessie] - cups-filters <not-affected> (Vulnerable code introduced later)