Heap-based Buffer Overflow Affecting cups-devel package, versions <1:1.6.3-51.amzn2.0.4


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.12% (48th 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-AMZN2-CUPSDEVEL-6016369
  • published20 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:2 cups-devel to version 1:1.6.3-51.amzn2.0.4 or higher.
This issue was patched in ALAS2-2023-2293.

NVD Description

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