Heap-based Buffer Overflow Affecting cups package, versions <1:1.4.2-67.25.amzn1


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-AMZN201803-CUPS-6033702
  • published25 Oct 2023
  • 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:2018.03 cups to version 1:1.4.2-67.25.amzn1 or higher.
This issue was patched in ALAS-2023-1857.

NVD Description

Note: Versions mentioned in the description apply only to the upstream cups package and not the cups package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 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 Scores

version 3.1