8.8
CWE
78 94
Advisory Published
CVE Published
CVE Published
Updated

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

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 SoftwareAffected VersionHow 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

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • What is CVE-2023-24805?

    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.

  • How does the vulnerability in cups-filters occur?

    The vulnerability in cups-filters occurs when the Backend Error Handler (beh) is used to create an accessible network printer.

  • What is the severity of CVE-2023-24805?

    CVE-2023-24805 has a severity rating of 8.8, indicating a high severity.

  • What software versions are affected by CVE-2023-24805?

    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.

  • How can I mitigate or fix the vulnerability in cups-filters?

    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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203