CVE-2024-47175
Rocky Linux vulnerability analysis and mitigation

Overview

CUPS is a standards-based, open-source printing system, and libppd can be used for legacy PPD file support. The vulnerability (CVE-2024-47175) exists in the libppd function ppdCreatePPDFromIPP2 which does not sanitize IPP attributes when creating the PPD buffer. When used in combination with other functions such as cfGetPrinterAttributes5, this can result in user-controlled input and ultimately code execution via Foomatic. The vulnerability was discovered in September 2024 and affects libppd versions <= 2.1b1 (GitHub Advisory, NVD).

Technical details

The vulnerability stems from the lack of input validation in the ppdCreatePPDFromIPP2 function within libppd. When creating PPD (PostScript Printer Description) files, the function fails to properly sanitize IPP (Internet Printing Protocol) attributes. This vulnerability has a CVSS v3.1 Base Score of 8.6 HIGH with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N. The issue is classified as CWE-20 (Improper Input Validation) (NVD, GitHub Advisory).

Impact

When exploited, this vulnerability can allow an attacker to inject controlled data into the PPD file, which can lead to code execution through the Foomatic printing system. This vulnerability can be part of an exploit chain leading to remote code execution (RCE), as described in CVE-2024-47176 (NVD, GitHub Advisory).

Mitigation and workarounds

For Debian 11 bullseye, this issue has been fixed in version 2.3.3op2-3+deb11u9. Ubuntu has also released fixes for various versions: noble (24.04 LTS) - fixed in 2:2.0.0-0ubuntu4.1, while jammy (22.04 LTS), focal (20.04 LTS), bionic (18.04 LTS), and xenial (16.04 LTS) are marked as not affected (Debian Advisory, Ubuntu Security).

Community reactions

The vulnerability has generated significant discussion in the security community, particularly regarding the broader implications for UNIX printing systems. Red Hat has acknowledged the vulnerability as part of a group of CUPS-related security issues and rated them with a severity impact of Important (Red Hat Blog).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management