Out-of-Bounds Affecting ghostscript-cups package, versions <0:9.06-2.amzn2.0.2


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
2.13% (90th 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-GHOSTSCRIPTCUPS-1662799
  • published27 Sept 2021
  • disclosed18 Apr 2018

Introduced: 18 Apr 2018

CVE-2018-10194  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 ghostscript-cups to version 0:9.06-2.amzn2.0.2 or higher.
This issue was patched in ALAS2-2018-1022.

NVD Description

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

The set_text_distance function in devices/vector/gdevpdts.c in the pdfwrite component in Artifex Ghostscript through 9.22 does not prevent overflows in text-positioning calculation, which allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted PDF document.