CVE-2024-47076
Reported by github_m · Published September 26, 2024
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.
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 | Amazon Linux | 1.28.16-3.amzn2023.0.3 |
| cups-filters-devel | Amazon Linux | 1.28.16-3.amzn2023.0.3 |
| cups-filters-libs | Amazon Linux | 1.28.16-3.amzn2023.0.3 |
| libcupsfilters | openprinting | 2.1b1, 2.0.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| OpenPrinting | libcupsfilters | <= 2.1b1 |
| amazon:2023 | cups-filters | 0 |
| amazon:2023 | cups-filters-devel | 0 |
| openprinting | libcupsfilters | 0 |
| amazon:2023 | cups-filters-libs | 0 |
| OpenPrinting | libcupsfilters | |
| OpenPrinting | libcupsfilters | 0 |
Timeline
- Sep 26, 2024 PoC Published (27 in total, the first dated here)
- Sep 26, 2024 CVE Published
- Sep 27, 2024 EPSS Score (30 in total, the first dated here)
- Oct 5, 2024 Coalition ESS Score (11 in total, the first dated here)
- Jan 4, 2026 Security Advisory (28 in total, the first dated here)
- Jan 4, 2026 CVE Updated
- 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-47076
vulnetix vdb fixes CVE-2024-47076
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-47076/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/libcupsfilters/security/advisories/GHSA-w63j-6g73-wmg5 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/libppd/security/advisories/GHSA-7xfx-47qg-grp6 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
- https://security.netapp.com/advisory/ntap-20241011-0001/ url
- https://github.com/OpenPrinting/libcupsfilters/commit/95576ec3d20c109332d14672a807353cdc551018 fix
- https://lists.debian.org/debian-lts-announce/2024/09/msg00048.html advisory