CVE-2024-47175
Published: 26 September 2024
Summary
CVE-2024-47175 is a high-severity Improper Input Validation (CWE-20) vulnerability in Openprinting Libppd. Its CVSS base score is 8.6 (High).
Operationally, ranked in the top 2.8% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Deeper analysis
CVE-2024-47175 affects the libppd component used for legacy PPD file support in the CUPS printing system. The function ppdCreatePPDFromIPP2 fails to sanitize IPP attributes when populating the PPD buffer; when invoked alongside routines such as cfGetPrinterAttributes5, this permits user-controlled data to reach Foomatic and trigger code execution. The issue is tracked under CWE-20 and carries a CVSS 3.1 score of 8.6.
An unauthenticated network attacker can supply malicious IPP attributes to a vulnerable CUPS instance, resulting in arbitrary code execution. The flaw is explicitly described as one link in a chain that can culminate in remote code execution, as referenced by the related CVE-2024-47176.
Public advisories published by the OpenPrinting project for libppd, libcupsfilters, cups-filters, and cups-browsed, together with the CUPS project site, document the issue and point to available updates. The associated EPSS score has remained in the 0.36–0.38 range since disclosure, indicating sustained but not sharply increasing exploitation interest.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-42297
Vulnerability details
CUPS is a standards-based, open-source printing system, and `libppd` can be used for legacy PPD file support. The `libppd` function `ppdCreatePPDFromIPP2` does not sanitize IPP attributes when creating the PPD buffer. When used in combination with other functions such as…
more
`cfGetPrinterAttributes5`, can result in user controlled input and ultimately code execution via Foomatic. This vulnerability can be part of an exploit chain leading to remote code execution (RCE), as described in CVE-2024-47176.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Security testing and developer training directly verify and enforce proper input validation, reducing exploitability of injection and malformed-data weaknesses.
Security testing and evaluation at multiple SDLC stages directly detects missing or flawed input validation, with the required remediation process ensuring fixes are applied.
Directly implements checks on information inputs to reject invalid data before processing.
Spam protection mechanisms perform filtering and detection on inbound/outbound messages, directly compensating for missing or weak input validation of unsolicited content.