CVE-2024-47175
Reported by github_m · Published September 26, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| cups-filters-devel | Amazon Linux | 1.28.16-3.amzn2023.0.2 |
| cups-filters-libs | Amazon Linux | 1.28.16-3.amzn2023.0.2 |
| cups-filters | Amazon Linux | 1.28.16-3.amzn2023.0.2 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| OpenPrinting | libppd | <= 2.1b1 |
| amazon:2023 | cups-filters-devel | 0 |
| amazon:2023 | cups-filters-libs | 0 |
| amazon:2023 | cups-filters | 0 |
| OpenPrinting | libppd | 0 |
| openprinting | libppd | 0 |
| alpine | cups | 0, 0 |
| OpenPrinting | libppd |
Timeline
- Sep 26, 2024 CVE Published
- Sep 27, 2024 EPSS Score (30 in total, the first dated here)
- Oct 5, 2024 Coalition ESS Score (29 in total, the first dated here)
- Nov 24, 2024 PoC Published
- Dec 5, 2025 CVE Updated
- Jan 4, 2026 Security Advisory (28 in total, the first dated here)
- Aug 10, 2026 Distribution Patch (24 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-47175
vulnetix vdb fixes CVE-2024-47175
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-47175/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/OpenPrinting/libppd/security/advisories/GHSA-7xfx-47qg-grp6 x_refsource_CONFIRM
- https://github.com/OpenPrinting/cups-browsed/security/advisories/GHSA-rj88-6mr5-rcw8 x_refsource_MISC
- https://github.com/OpenPrinting/cups-filters/security/advisories/GHSA-p9rh-jxmq-gq47 x_refsource_MISC
- https://github.com/OpenPrinting/libcupsfilters/security/advisories/GHSA-w63j-6g73-wmg5 x_refsource_MISC
- https://www.cups.org x_refsource_MISC
- https://www.evilsocket.net/2024/09/26/Attacking-UNIX-systems-via-CUPS-Part-I x_refsource_MISC
- http://www.openwall.com/lists/oss-security/2024/09/27/3 url
- https://security.netapp.com/advisory/ntap-20241011-0001/ url
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2024-0016 url
- https://github.com/OpenPrinting/libppd/commit/d681747ebf12602cb426725eb8ce2753211e2477 fix
- https://lists.debian.org/debian-lts-announce/2024/09/msg00047.html advisory