CVE-2021-3781
JSON

9.9critical

A trivial sandbox (enabled with the -dSAFER option) escape flaw was found in the ghostscript interpreter by injecting a specially crafted p…

Severity
9.9critical CVSS:3.1 by NVD
Exploit likelihood
85.6% (higher than 99% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

Description

A trivial sandbox (enabled with the `-dSAFER` option) escape flaw was found in the ghostscript interpreter by injecting a specially crafted pipe command. This flaw allows a specially crafted document to execute arbitrary commands on the system in the context of the ghostscript interpreter. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.

Affected

Product or packageVersionsReported by
ghostscriptghostpdl 9.55.0CVE List
artifex ghostscript9.50, 9.52, 9.53.3, 9.54.0NVD
fedoraproject fedora34NVD

All scores

NVD9.9critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
NVD9.3high CVSS:2.0AV:N/AC:M/Au:N/C:C/I:C/A:C

Classification

What each source says

CVE List

A trivial sandbox (enabled with the `-dSAFER` option) escape flaw was found in the ghostscript interpreter by injecting a specially crafted pipe command. This flaw allows a specially crafted document to execute arbitrary commands on the system in the context of the ghostscript interpreter. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.

NVD (es)

Se ha encontrado un fallo de escape trivial del sandbox (habilitado con la opción "-dSAFER") en el intérprete de ghostscript al inyectar un comando de tubería especialmente diseñado. Este fallo permite que un documento especialmente diseñado ejecute comandos arbitrarios en el sistema en el contexto del intérprete ghostscript. La mayor amenaza de esta vulnerabilidad es para la confidencialidad, la integridad y la disponibilidad del sistema

References

https://bugzilla.redhat.com/show_bug.cgi?id=2002271issue-tracking, patch, third-party-advisory
https://ghostscript.com/CVE-2021-3781.htmlpatch, vendor-advisory
https://security.gentoo.org/glsa/202211-11third-party-advisory, vendor-advisory

Sources

SourceRecordLicence
CVE ListCVE-2021-3781 changed 2024-08-03CVE Terms of Use
NVDCVE-2021-3781 changed 2026-06-17Public domain