CVE-2024-47076 libcupsfilters's cfGetPrinterAttributes5 does not validate IPP attributes returned from an IPP server
HighCVSS 8.6
EPSS 79.9%
Framework module
- Published
- Updated
- Exploit status
- Public exploit available
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
Description
CUPS is a standards-based, open-source printing system, and libcupsfilters contains the code of the filters of the former cups-filters package as library functions to be used for the data format conversion tasks needed in Printer Applications. The cfGetPrinterAttributes5 function in libcupsfilters does not sanitize IPP attributes returned from an IPP server. When these IPP attributes are used, for instance, to generate a PPD file, this can lead to attacker controlled data to be provided to the rest of the CUPS system.
Upgrade path
8 packages: 8 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/cups-filters(Debian 12) | < 1.28.17-3+deb12u1; = 1.28.17-3 | 1.28.17-3+deb12u1 | Fixed |
| debian/cups-filters(Debian 13) | < 1.28.17-5 | 1.28.17-5 | Fixed |
| debian/cups-filters(Debian 14) | < 1.28.17-5 | 1.28.17-5 | Fixed |
| debian/libcupsfilters(Debian 13) | < 2.0.0-3 | 2.0.0-3 | Fixed |
| debian/libcupsfilters(Debian 14) | < 2.0.0-3 | 2.0.0-3 | Fixed |
| OpenPrinting libcupsfilters | <= 2.0.0; <= 2.1b1; = 2.1-beta1; = <= 2.1b1 | after 2.0.0, 2.1b1 | Fixed |
| ubuntu/cups-filters(Ubuntu 22.04) | < 1.28.15-0ubuntu1.4 | 1.28.15-0ubuntu1.4 | Fixed |
| ubuntu/libcupsfilters(Ubuntu 24.04) | < 2.0.0-0ubuntu7.1 | 2.0.0-0ubuntu7.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/cups-filters(Debian:12) | < 1.28.17-3+deb12u1 | 1.28.17-3+deb12u1 |
| debian/cups-filters(Debian:12) | = 1.28.17-3 | No fix listed |
| debian/cups-filters(Debian:13) | < 1.28.17-5 | 1.28.17-5 |
| debian/cups-filters(Debian:14) | < 1.28.17-5 | 1.28.17-5 |
| debian/libcupsfilters(Debian:13) | < 2.0.0-3 | 2.0.0-3 |
| debian/libcupsfilters(Debian:14) | < 2.0.0-3 | 2.0.0-3 |
| ubuntu/cups-filters(Ubuntu:22.04) | < 1.28.15-0ubuntu1.4 | 1.28.15-0ubuntu1.4 |
| OpenPrinting libcupsfilters | = <= 2.1b1 | No fix listed |
| OpenPrinting libcupsfilters | <= 2.1b1 | No fix listed |
| ubuntu/libcupsfilters(Ubuntu:24.04) | < 2.0.0-0ubuntu7.1 | 2.0.0-0ubuntu7.1 |
| OpenPrinting libcupsfilters | <= 2.0.0 | No fix listed |
| OpenPrinting libcupsfilters | = 2.1-beta1 | No fix listed |
References
- Debian Security Tracker CVE-2024-47076 vendor-advisory
- bugs.debian.org issue-tracking
- bugs.debian.org issue-tracking
- Ubuntu CVE tracker vendor-advisory
- USN-7043-1 vendor-advisory
- USN-7044-1 vendor-advisory
- USN-7043-4 vendor-advisory
- www.cve.org
- https://github.com/OpenPrinting/libcupsfilters/security/advisories/GHSA-w63j-6g73-wmg5 exploit vendor-advisory
- https://github.com/OpenPrinting/cups-browsed/security/advisories/GHSA-rj88-6mr5-rcw8 not-applicable
- https://github.com/OpenPrinting/cups-filters/security/advisories/GHSA-p9rh-jxmq-gq47 not-applicable
- https://github.com/OpenPrinting/libppd/security/advisories/GHSA-7xfx-47qg-grp6 not-applicable
- https://www.cups.org product
- https://www.evilsocket.net/2024/09/26/Attacking-UNIX-systems-via-CUPS-Part-I exploit third-party-advisory
- github.com patch
- security.netapp.com
- lists.debian.org