CVE-2023-4504

Name
CVE-2023-4504
Description
Due to failure in validating the length provided by an attacker-crafted PPD PostScript document, CUPS and libppd are susceptible to a heap-based buffer overflow and possibly code execution. This issue has been fixed in CUPS version 2.4.7, released in September of 2023.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
MISC https://github.com/OpenPrinting/libppd/security/advisories/GHSA-4f65-6ph5-qwh6
MISC https://github.com/OpenPrinting/cups/security/advisories/GHSA-pf5r-86w9-678h
MISC https://takeonme.org/cves/CVE-2023-4504.html
MISC https://github.com/OpenPrinting/cups/releases/tag/v2.4.7
MISC https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5WVS4I7JG3LISFPKTM6ADKJXXEPEEWBQ/
MISC https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5WHEJIYMMAIXU2EC35MGTB5LGGO2FFJE/
MISC https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AMYDKIE4PSJDEMC5OWNFCDMHFGLJ57XG/
MISC https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/T2GSPQAFK2Z6L57TRXEKZDF42K2EVBH7/
Mailing List https://lists.debian.org/debian-lts-announce/2023/09/msg00041.html
Third Party Advisory https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PXPVADB56NMLJWG4IZ3OZBNJ2ZOLPQJ6/

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:openprinting:cups:*:*:*:*:*:*:*:* cups >= None < 2.4.7
cpe:2.3:a:openprinting:libppd:2.0:rc2:*:*:*:linux:*:* libppd == None == 2.0

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
cups 3.16-main 2.4.2-r2 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
cups 3.15-main 2.3.3-r8 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable