CVE-2024-47076libcupsfilters's cfGetPrinterAttributes5 does not validate IPP attributes returned from…
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.
What to do
Likely to be exploited: EPSS gives a 14% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.
Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 25.10 | cups-filters | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | cups-filters | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | libcupsfilters | Fixed | 2.0.0-0ubuntu7.1 | UBUNTU-CVE-2024-47076 |
| Ubuntu 22.04 | cups-filters | Fixed | 1.28.15-0ubuntu1.4 | UBUNTU-CVE-2024-47076 |
| Ubuntu 20.04 | cups-filters | Fixed | 1.27.4-1ubuntu0.4 | UBUNTU-CVE-2024-47076 |
| Debian 14 | cups-filters | Fixed | 1.28.17-5 | DEBIAN-CVE-2024-47076 |
| Debian 14 | libcupsfilters | Fixed | 2.0.0-3 | DEBIAN-CVE-2024-47076 |
| Debian 13 | cups-filters | Fixed | 1.28.17-5 | DEBIAN-CVE-2024-47076 |
| Debian 13 | libcupsfilters | Fixed | 2.0.0-3 | DEBIAN-CVE-2024-47076 |
| Debian 12 | cups-filters | Fixed | 1.28.17-3+deb12u1 | DEBIAN-CVE-2024-47076 |
| Red Hat Enterprise Linux 10 | cups-filters | Not affected | ||
| Red Hat Enterprise Linux 10 | cups-filters-driverless | Not affected | ||
| Red Hat Enterprise Linux 10 | libcupsfilters | Not affected | ||
| Red Hat Enterprise Linux 9 | cups-filters | Fixed | 0:1.28.7-17.el9_4 | RHSA-2024:7346 |
| Red Hat Enterprise Linux 9 | cups-filters-devel | Fixed | 0:1.28.7-17.el9_4 | RHSA-2024:7346 |
| Red Hat Enterprise Linux 9 | cups-filters-libs | Fixed | 0:1.28.7-17.el9_4 | RHSA-2024:7346 |
| Red Hat Enterprise Linux 8 | cups-filters | Fixed | 0:1.20.0-35.el8_10 | RHSA-2024:7463 |
| Red Hat Enterprise Linux 8 | cups-filters-devel | Fixed | 0:1.20.0-35.el8_10 | RHSA-2024:7463 |
| Red Hat Enterprise Linux 8 | cups-filters-libs | Fixed | 0:1.20.0-35.el8_10 | RHSA-2024:7463 |
| AlmaLinux 9 | cups-filters | Fixed | 1.28.7-17.el9_4 | ALSA-2024:7346 |
| AlmaLinux 9 | cups-filters-devel | Fixed | 1.28.7-17.el9_4 | ALSA-2024:7346 |
| AlmaLinux 9 | cups-filters-libs | Fixed | 1.28.7-17.el9_4 | ALSA-2024:7346 |
| AlmaLinux 8 | cups-filters | Fixed | 1.20.0-35.el8_10 | ALSA-2024:7463 |
| AlmaLinux 8 | cups-filters-devel | Fixed | 1.20.0-35.el8_10 | ALSA-2024:7463 |
| AlmaLinux 8 | cups-filters-libs | Fixed | 1.20.0-35.el8_10 | ALSA-2024:7463 |
| Rocky Linux 9 | cups-filters | Fixed | 0:1.28.7-17.el9_4 | RLSA-2024:7346 |
| Rocky Linux 8 | cups-filters | Fixed | 0:1.20.0-35.el8_10 | RLSA-2024:7463 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- OpenPrinting libcupsfilters: affected: <= 2.1b1
References
- https://github.com/OpenPrinting/libcupsfilters/security/advisories/GHSA-w63j-6g73-wmg5
- https://github.com/OpenPrinting/cups-browsed/security/advisories/GHSA-rj88-6mr5-rcw8
- https://github.com/OpenPrinting/cups-filters/security/advisories/GHSA-p9rh-jxmq-gq47
- https://github.com/OpenPrinting/libppd/security/advisories/GHSA-7xfx-47qg-grp6
- https://www.cups.org
- https://www.evilsocket.net/2024/09/26/Attacking-UNIX-systems-via-CUPS-Part-I
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.