Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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