Descriptioncups-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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3430-1, DSA-5407-1, ELA-852-1
Debian Bugs1036224

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
cups-filters (PTS)jessie, jessie (lts)1.0.61-5+deb8u4fixed
stretch (security)1.11.6-3+deb9u1vulnerable
stretch (lts), stretch1.11.6-3+deb9u2fixed
buster (security), buster, buster (lts)1.21.6-5+deb10u1fixed
bullseye (security), bullseye1.28.7-1+deb11u2fixed
trixie, sid1.28.17-4fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
cups-filterssourcejessie(not affected)

Fixed by: (master)
Fixed by: (1.x)
[jessie] - cups-filters <not-affected> (Vulnerable code introduced later)

Search for package or bug name: Reporting problems