Incorrect Permission Assignment for Critical Resource Affecting libgs package, versions <0:9.25-5.amzn2


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.44% (75th 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-LIBGS-1693950
  • published27 Sept 2021
  • disclosed15 Nov 2019

Introduced: 15 Nov 2019

CVE-2019-14869  (opens in a new tab)
CWE-732  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 libgs to version 0:9.25-5.amzn2 or higher.
This issue was patched in ALAS2-2021-1598.

NVD Description

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

A flaw was found in all versions of ghostscript 9.x before 9.50, where the .charkeys procedure, where it did not properly secure its privileged calls, enabling scripts to bypass -dSAFER restrictions. An attacker could abuse this flaw by creating a specially crafted PostScript file that could escalate privileges within the Ghostscript and access files outside of restricted areas or execute commands.

CVSS Scores

version 3.1