Vulnerability · Published Sep 26, 2024 · Assigned by GitHub_M

CVE-2024-47076libcupsfilters's cfGetPrinterAttributes5 does not validate IPP attributes returned from an IPP server

High 8.6

In plain English

A high-severity improper input validation in libcupsfilters from OpenPrinting. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 79.9% (higher than 99.6% of all known vulnerabilities). Ready-made attack tooling exists: Metasploit, public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.6High
Exploit odds (30 days)79.9%top 0.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling2Metasploit, Public PoC

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8cups-filters1.20.0-35.el8_10ALSA-2024:7463
AlmaLinux:9cups-filters1.28.7-17.el9_4ALSA-2024:7346
AlmaLinux:8cups-filters-devel1.20.0-35.el8_10ALSA-2024:7463
AlmaLinux:9cups-filters-devel1.28.7-17.el9_4ALSA-2024:7346
AlmaLinux:8cups-filters-libs1.20.0-35.el8_10ALSA-2024:7463
AlmaLinux:9cups-filters-libs1.28.7-17.el9_4ALSA-2024:7346
Debian:12cups-filters1.28.17-3+deb12u1DSA-5778-1
Debian:12cups-filters1.28.17-3+deb12u1DEBIAN-CVE-2024-47076
Debian:13cups-filters1.28.17-5DEBIAN-CVE-2024-47076
Debian:14cups-filters1.28.17-5DEBIAN-CVE-2024-47076
Debian:13libcupsfilters2.0.0-3DEBIAN-CVE-2024-47076
Debian:14libcupsfilters2.0.0-3DEBIAN-CVE-2024-47076
Rocky Linux:8cups-filters0:1.20.0-35.el8_10RLSA-2024:7463
Rocky Linux:9cups-filters0:1.28.7-17.el9_4RLSA-2024:7346
Ubuntu:22.04:LTScups-filters1.28.15-0ubuntu1.4USN-7043-4
Ubuntu:22.04:LTScups-filters1.28.15-0ubuntu1.3USN-7043-1
Ubuntu:22.04:LTScups-filters1.28.15-0ubuntu1.4UBUNTU-CVE-2024-47076
Ubuntu:24.04:LTSlibcupsfilters2.0.0-0ubuntu7.1UBUNTU-CVE-2024-47076
Ubuntu:24.04:LTSlibcupsfilters2.0.0-0ubuntu7.1USN-7044-1

Affected products (as reported)

VendorProductVersions
OpenPrinting libcupsfilters <= 2.1b1

Weakness: CWE-20 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N

References