Command injection in cups-filters
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.
Affected products
31- osv-coords30 versionspkg:rpm/almalinux/cups-filterspkg:rpm/almalinux/cups-filters-develpkg:rpm/almalinux/cups-filters-libspkg:rpm/opensuse/cups-filters&distro=openSUSE%20Leap%2015.4pkg:rpm/opensuse/cups-filters&distro=openSUSE%20Leap%2015.5pkg:rpm/opensuse/cups-filters&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/poppler&distro=openSUSE%20Leap%2015.4pkg:rpm/suse/cups-filters&distro=SUSE%20Enterprise%20Storage%207pkg:rpm/suse/cups-filters&distro=SUSE%20Enterprise%20Storage%207.1pkg:rpm/suse/cups-filters&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSSpkg:rpm/suse/cups-filters&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSSpkg:rpm/suse/cups-filters&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-ESPOSpkg:rpm/suse/cups-filters&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSSpkg:rpm/suse/cups-filters&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP4pkg:rpm/suse/cups-filters&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP5pkg:rpm/suse/cups-filters&distro=SUSE%20Linux%20Enterprise%20Real%20Time%2015%20SP3pkg:rpm/suse/cups-filters&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSSpkg:rpm/suse/cups-filters&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-LTSSpkg:rpm/suse/cups-filters&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP3-LTSSpkg:rpm/suse/cups-filters&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1pkg:rpm/suse/cups-filters&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP2pkg:rpm/suse/cups-filters&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP3pkg:rpm/suse/cups-filters&distro=SUSE%20Manager%20Proxy%204.2pkg:rpm/suse/cups-filters&distro=SUSE%20Manager%20Server%204.2pkg:rpm/suse/poppler&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSSpkg:rpm/suse/poppler&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSSpkg:rpm/suse/poppler&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1pkg:rpm/suse/texlive&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSSpkg:rpm/suse/texlive&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSSpkg:rpm/suse/texlive&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1
< 1.28.7-11.el9_2.1+ 29 more
- (no CPE)range: < 1.28.7-11.el9_2.1
- (no CPE)range: < 1.28.7-11.el9_2.1
- (no CPE)range: < 1.28.7-11.el9_2.1
- (no CPE)range: < 1.25.0-150200.3.6.1
- (no CPE)range: < 1.25.0-150200.3.6.1
- (no CPE)range: < 1.28.15-3.1
- (no CPE)range: < 0.62.0-150000.4.12.1
- (no CPE)range: < 1.25.0-150200.3.6.1
- (no CPE)range: < 1.25.0-150200.3.6.1
- (no CPE)range: < 1.20.3-150000.3.10.1
- (no CPE)range: < 1.25.0-150200.3.6.1
- (no CPE)range: < 1.25.0-150200.3.6.1
- (no CPE)range: < 1.25.0-150200.3.6.1
- (no CPE)range: < 1.25.0-150200.3.6.1
- (no CPE)range: < 1.25.0-150200.3.6.1
- (no CPE)range: < 1.25.0-150200.3.6.1
- (no CPE)range: < 1.20.3-150000.3.10.1
- (no CPE)range: < 1.25.0-150200.3.6.1
- (no CPE)range: < 1.25.0-150200.3.6.1
- (no CPE)range: < 1.20.3-150000.3.10.1
- (no CPE)range: < 1.25.0-150200.3.6.1
- (no CPE)range: < 1.25.0-150200.3.6.1
- (no CPE)range: < 1.25.0-150200.3.6.1
- (no CPE)range: < 1.25.0-150200.3.6.1
- (no CPE)range: < 0.62.0-150000.4.12.1
- (no CPE)range: < 0.62.0-150000.4.12.1
- (no CPE)range: < 0.62.0-150000.4.12.1
- (no CPE)range: < 2017.20170520-150000.11.20.1
- (no CPE)range: < 2017.20170520-150000.11.20.1
- (no CPE)range: < 2017.20170520-150000.11.20.1
- OpenPrinting/cups-filtersv5Range: <= 2.0rc1
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
7- github.com/OpenPrinting/cups-filters/commit/8f274035756c04efeb77eb654e9d4c4447287d65mitrex_refsource_MISC
- github.com/OpenPrinting/cups-filters/security/advisories/GHSA-gpxc-v2m8-fr3xmitrex_refsource_CONFIRM
- lists.debian.org/debian-lts-announce/2023/05/msg00021.htmlmitre
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KL2SJMZQ5T5JIH3PMQ2CGCY5TUUE255Y/mitre
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YNCGL2ZTAS2GFF23QFT55UFWIDMI4ZJK/mitre
- security.gentoo.org/glsa/202401-06mitre
- www.debian.org/security/2023/dsa-5407mitre
News mentions
0No linked articles in our index yet.