{"id":"CVE-2024-47175","state":"PUBLISHED","title":"libppd's ppdCreatePPDFromIPP2 function does not sanitize IPP attributes when creating the PPD buffer","description":"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.","publishedAt":"2024-09-26T21:18:25.265Z","updatedAt":"2025-11-03T22:20:02.661Z","severity":{"score":8.6,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["OpenPrinting libppd"],"affected":[{"vendor":"OpenPrinting","product":"libppd","versions":[{"version":"<= 2.1b1","status":"affected"}]}],"references":["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"],"weaknesses":["CWE-20"],"ingestedAt":"2026-10-29T20:07:56.516Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/47xxx/CVE-2024-47175.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-47175","state":"PUBLISHED","datePublished":"2024-09-26T21:18:25.265Z","dateUpdated":"2025-11-03T22:20:02.661Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-09-19T22:32:11.962Z"},"containers":{"cna":{"title":"libppd's ppdCreatePPDFromIPP2 function does not sanitize IPP attributes when creating the PPD buffer","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"OpenPrinting","product":"libppd","versions":[{"version":"<= 2.1b1","status":"affected"}]}],"references":[{"url":"https://github.com/OpenPrinting/libppd/security/advisories/GHSA-7xfx-47qg-grp6","name":"https://github.com/OpenPrinting/libppd/security/advisories/GHSA-7xfx-47qg-grp6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/OpenPrinting/cups-browsed/security/advisories/GHSA-rj88-6mr5-rcw8","name":"https://github.com/OpenPrinting/cups-browsed/security/advisories/GHSA-rj88-6mr5-rcw8","tags":["x_refsource_MISC"]},{"url":"https://github.com/OpenPrinting/cups-filters/security/advisories/GHSA-p9rh-jxmq-gq47","name":"https://github.com/OpenPrinting/cups-filters/security/advisories/GHSA-p9rh-jxmq-gq47","tags":["x_refsource_MISC"]},{"url":"https://github.com/OpenPrinting/libcupsfilters/security/advisories/GHSA-w63j-6g73-wmg5","name":"https://github.com/OpenPrinting/libcupsfilters/security/advisories/GHSA-w63j-6g73-wmg5","tags":["x_refsource_MISC"]},{"url":"https://www.cups.org","name":"https://www.cups.org","tags":["x_refsource_MISC"]},{"url":"https://www.evilsocket.net/2024/09/26/Attacking-UNIX-systems-via-CUPS-Part-I","name":"https://www.evilsocket.net/2024/09/26/Attacking-UNIX-systems-via-CUPS-Part-I","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":8.6,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","lang":"en","description":"CWE-20: Improper Input Validation","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-09-26T21:18:25.265Z"},"source":{"advisory":"GHSA-7xfx-47qg-grp6","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2024/09/27/3"},{"url":"https://github.com/OpenPrinting/libppd/commit/d681747ebf12602cb426725eb8ce2753211e2477"},{"url":"https://lists.debian.org/debian-lts-announce/2024/09/msg00047.html"},{"url":"https://security.netapp.com/advisory/ntap-20241011-0001/"},{"url":"https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2024-0016"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T22:20:02.661Z"}},{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"openprinting","product":"libppd","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThanOrEqual":"2.1b1","versionType":"custom"}],"cpes":["cpe:2.3:a:openprinting:libppd:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-09-27T14:43:04.963185Z","id":"CVE-2024-47175","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-27T14:43:16.814Z"}}]}}}