Incorrect Permission Assignment for Critical Resource Affecting ghostscript package, versions <9.27-r3


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.26% (67th 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-ALPINE320-GHOSTSCRIPT-7009124
  • published23 May 2024
  • disclosed27 Nov 2019

Introduced: 27 Nov 2019

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

How to fix?

Upgrade Alpine:3.20 ghostscript to version 9.27-r3 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 Alpine. See How to fix? for Alpine:3.20 relevant fixed versions and status.

A flaw was found in all ghostscript versions 9.x before 9.50, in the .setuserparams2 procedure where it did not properly secure its privileged calls, enabling scripts to bypass -dSAFER restrictions. A specially crafted PostScript file could disable security protection and then have access to the file system, or execute arbitrary commands.

CVSS Scores

version 3.1