CVE-2024-47076

NameCVE-2024-47076
DescriptionCUPS 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3905-1, DSA-5778-1, ELA-1186-1
Debian Bugs1082821, 1082827

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
cups-filters (PTS)jessie, jessie (lts)1.0.61-5+deb8u5fixed
stretch (security)1.11.6-3+deb9u1vulnerable
stretch (lts), stretch1.11.6-3+deb9u3fixed
buster, buster (lts)1.21.6-5+deb10u2fixed
buster (security)1.21.6-5+deb10u1vulnerable
bullseye1.28.7-1+deb11u2vulnerable
bullseye (security)1.28.7-1+deb11u3fixed
bookworm (security), bookworm1.28.17-3+deb12u1fixed
sid, trixie1.28.17-5fixed
libcupsfilters (PTS)sid, trixie2.0.0-3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
cups-filterssourcejessie(not affected)
cups-filterssourcestretch1.11.6-3+deb9u3ELA-1186-1
cups-filterssourcebuster1.21.6-5+deb10u2ELA-1186-1
cups-filterssourcebullseye1.28.7-1+deb11u3DLA-3905-1
cups-filterssourcebookworm1.28.17-3+deb12u1DSA-5778-1
cups-filterssource(unstable)1.28.17-51082827
libcupsfilterssource(unstable)2.0.0-31082821

Notes

https://github.com/OpenPrinting/libcupsfilters/security/advisories/GHSA-w63j-6g73-wmg5
https://www.evilsocket.net/2024/09/26/Attacking-UNIX-systems-via-CUPS-Part-I/
Fixed by: https://github.com/OpenPrinting/libcupsfilters/commit/95576ec3d20c109332d14672a807353cdc551018
[jessie] - cups-filters <not-affected> (Vulnerable code not used)

Search for package or bug name: Reporting problems