Heap-based Buffer Overflow Affecting cups-client package, versions <1:2.4.11-8.amzn2023.0.1


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.15% (53rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-CUPSCLIENT-9297971
  • published7 Mar 2025
  • disclosed21 Sept 2023

Introduced: 21 Sep 2023

CVE-2023-4504  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 cups-client to version 1:2.4.11-8.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2025-883.

NVD Description

Note: Versions mentioned in the description apply only to the upstream cups-client package and not the cups-client package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1