Heap-based Buffer Overflow Affecting ghostscript package, versions <9.26~dfsg+0-0ubuntu0.18.04.14


Severity

Recommended
low

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.21% (61st 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-UBUNTU1804-GHOSTSCRIPT-1056272
  • published18 Dec 2020
  • disclosed5 Jan 2021

Introduced: 18 Dec 2020

CVE-2020-27841  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade Ubuntu:18.04 ghostscript to version 9.26~dfsg+0-0ubuntu0.18.04.14 or higher.

NVD Description

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

There's a flaw in openjpeg in versions prior to 2.4.0 in src/lib/openjp2/pi.c. When an attacker is able to provide crafted input to be processed by the openjpeg encoder, this could cause an out-of-bounds read. The greatest impact from this flaw is to application availability.

CVSS Scores

version 3.1