CVE-2024-47175
CVE-2024-47175 · libppd's ppdCreatePPDFromIPP2 function does not sanitize IPP attributes when creating the PPD buffer
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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 `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.
CVSS 8.6 · High · EPSS 63.6% · Public exploit · Fix available
- Published
- Updated
Stack: system
Affected products and versions
libppd
- Versions
- <= 2.1b1: Affected
No fix published
cups Debian:12
- Versions
- 2.4.2-3
- 2.4.2-3+deb12u1
- 2.4.2-3+deb12u2
- 2.4.2-3+deb12u3
- 2.4.2-3+deb12u4
- 2.4.2-3+deb12u5
- 2.4.2-3+deb12u6
- 2.4.2-3+deb12u7
- Affected ranges
- ECOSYSTEM: < 2.4.2-3+deb12u8
Update to 2.4.2-3+deb12u8
cups Debian:13
- Affected ranges
- ECOSYSTEM: < 2.4.10-2
Update to 2.4.10-2
cups Debian:14
- Affected ranges
- ECOSYSTEM: < 2.4.10-2
Update to 2.4.10-2
cups Ubuntu:Pro:16.04:LTS
- Versions
- 2.1.0-4ubuntu3
- 2.1.0-5
- 2.1.0-6
- 2.1.0-6ubuntu1
- 2.1.0-7
- 2.1.2-1
- 2.1.2-2
- 2.1.3-1
- 2.1.3-1build1
- 2.1.3-3
- 2.1.3-4
- 2.1.3-4ubuntu0.2
- 2.1.3-4ubuntu0.3
- 2.1.3-4ubuntu0.4
- 2.1.3-4ubuntu0.5
- 2.1.3-4ubuntu0.6
- 2.1.3-4ubuntu0.7
- 2.1.3-4ubuntu0.8
- 2.1.3-4ubuntu0.9
- 2.1.3-4ubuntu0.10
- 2.1.3-4ubuntu0.11
- 2.1.3-4ubuntu0.11+esm1
- 2.1.3-4ubuntu0.11+esm2
- 2.1.3-4ubuntu0.11+esm3
- 2.1.3-4ubuntu0.11+esm4
- 2.1.3-4ubuntu0.11+esm5
- 2.1.3-4ubuntu0.11+esm6
- 2.1.3-4ubuntu0.11+esm7
- Affected ranges
- ECOSYSTEM: < 2.1.3-4ubuntu0.11+esm8
Update to 2.1.3-4ubuntu0.11+esm8
cups Ubuntu:Pro:18.04:LTS
- Versions
- 2.2.4-7ubuntu2
- 2.2.5-2
- 2.2.6-2
- 2.2.6-3
- 2.2.6-4
- 2.2.6-5
- 2.2.7-1ubuntu1
- 2.2.7-1ubuntu2
- 2.2.7-1ubuntu2.1
- 2.2.7-1ubuntu2.2
- 2.2.7-1ubuntu2.3
- 2.2.7-1ubuntu2.4
- 2.2.7-1ubuntu2.5
- 2.2.7-1ubuntu2.6
- 2.2.7-1ubuntu2.7
- 2.2.7-1ubuntu2.8
- 2.2.7-1ubuntu2.9
- 2.2.7-1ubuntu2.10
- 2.2.7-1ubuntu2.10+esm1
- 2.2.7-1ubuntu2.10+esm2
- 2.2.7-1ubuntu2.10+esm3
- 2.2.7-1ubuntu2.10+esm4
- 2.2.7-1ubuntu2.10+esm5
- Affected ranges
- ECOSYSTEM: < 2.2.7-1ubuntu2.10+esm6
Update to 2.2.7-1ubuntu2.10+esm6
cups Ubuntu:20.04:LTS
- Versions
- 2.2.12-2ubuntu1
- 2.3.0-6
- 2.3.0-7
- 2.3.0-7ubuntu1
- 2.3.1-1ubuntu1
- 2.3.1-2
- 2.3.1-4
- 2.3.1-7
- 2.3.1-9ubuntu1
- 2.3.1-9ubuntu1.1
- 2.3.1-9ubuntu1.2
- 2.3.1-9ubuntu1.3
- 2.3.1-9ubuntu1.4
- 2.3.1-9ubuntu1.5
- 2.3.1-9ubuntu1.6
- 2.3.1-9ubuntu1.7
- 2.3.1-9ubuntu1.8
- Affected ranges
- ECOSYSTEM: < 2.3.1-9ubuntu1.9
Update to 2.3.1-9ubuntu1.9
cups Ubuntu:22.04:LTS
- Versions
- 2.3.3op2-7ubuntu2
- 2.4.1op1-1ubuntu1
- 2.4.1op1-1ubuntu2
- 2.4.1op1-1ubuntu3
- 2.4.1op1-1ubuntu4
- 2.4.1op1-1ubuntu4.1
- 2.4.1op1-1ubuntu4.2
- 2.4.1op1-1ubuntu4.4
- 2.4.1op1-1ubuntu4.6
- 2.4.1op1-1ubuntu4.7
- 2.4.1op1-1ubuntu4.8
- 2.4.1op1-1ubuntu4.9
- 2.4.1op1-1ubuntu4.10
- Affected ranges
- ECOSYSTEM: < 2.4.1op1-1ubuntu4.11
Update to 2.4.1op1-1ubuntu4.11
cups Ubuntu:24.04:LTS
- Versions
- 2.4.6-0ubuntu3
- 2.4.7-1.2ubuntu2
- 2.4.7-1.2ubuntu3
- 2.4.7-1.2ubuntu7
- 2.4.7-1.2ubuntu7.1
- 2.4.7-1.2ubuntu7.2
- Affected ranges
- ECOSYSTEM: < 2.4.7-1.2ubuntu7.3
Update to 2.4.7-1.2ubuntu7.3
libppd Ubuntu:24.04:LTS
- Versions
- 2:2.0.0-0ubuntu1
- 2:2.0.0-0ubuntu3
- 2:2.0.0-0ubuntu4
- Affected ranges
- ECOSYSTEM: < 2:2.0.0-0ubuntu4.1
Update to 2:2.0.0-0ubuntu4.1
Original sources
- https://github.com/OpenPrinting/libppd/security/advisories/GHSA-7xfx-47qg-grp6
- https://github.com/OpenPrinting/cups-browsed/security/advisories/GHSA-rj88-6mr5-rcw8
- https://github.com/OpenPrinting/cups-filters/security/advisories/GHSA-p9rh-jxmq-gq47
- https://github.com/OpenPrinting/libcupsfilters/security/advisories/GHSA-w63j-6g73-wmg5
- https://www.cups.org
- https://www.evilsocket.net/2024/09/26/Attacking-UNIX-systems-via-CUPS-Part-I
- http://www.openwall.com/lists/oss-security/2024/09/27/3
- https://github.com/OpenPrinting/libppd/commit/d681747ebf12602cb426725eb8ce2753211e2477
- https://lists.debian.org/debian-lts-announce/2024/09/msg00047.html
- https://security.netapp.com/advisory/ntap-20241011-0001/
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2024-0016
- https://nvd.nist.gov/vuln/detail/CVE-2024-47175