CVE-2017-9835
published 2017-07-26CVE-2017-9835: The gs_alloc_ref_array function in psi/ialloc.c in Artifex Ghostscript 9.21 allows remote attackers to cause a denial of service (heap-based buffer overflow…
PriorityP336high7.8CVSS 3.0
AVLACLPRNUIRSUCHIHAH
EPSS
2.69%
84.3th percentile
The gs_alloc_ref_array function in psi/ialloc.c in Artifex Ghostscript 9.21 allows remote attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via a crafted PostScript document. This is related to a lack of an integer overflow check in base/gsalloc.c.
Affected
10 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| artifex | ghostscript | — | — |
| artifex | ghostscript | >= 0 < 9.22~dfsg-1 | 9.22~dfsg-1 |
| artifex | ghostscript | >= 0 < 9.22~dfsg-1 | 9.22~dfsg-1 |
| artifex | ghostscript | >= 0 < 9.22~dfsg-1 | 9.22~dfsg-1 |
| artifex | ghostscript | >= 0 < 9.22~dfsg-1 | 9.22~dfsg-1 |
| artifex | ghostscript | >= 0 < 9.10~dfsg-0ubuntu10.10 | 9.10~dfsg-0ubuntu10.10 |
| artifex | ghostscript | >= 0 < 9.18~dfsg~0-0ubuntu2.7 | 9.18~dfsg~0-0ubuntu2.7 |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | ghostscript | < ghostscript 9.22~dfsg-1 (bookworm) | ghostscript 9.22~dfsg-1 (bookworm) |
CVSS provenance
nvdv3.07.8HIGHCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv7.8HIGH
vendor_debian7.8HIGH
vendor_redhat7.8HIGH
vendor_ubuntu7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-mgmv-54pf-p6jv: The gs_alloc_ref_array function in psi/ialloc
ghsa_unreviewed·2022-05-13
CVE-2017-9835 [HIGH] CWE-190 GHSA-mgmv-54pf-p6jv: The gs_alloc_ref_array function in psi/ialloc
The gs_alloc_ref_array function in psi/ialloc.c in Artifex Ghostscript 9.21 allows remote attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via a crafted PostScript document. This is related to a lack of an integer overflow check in base/gsalloc.c.
OSV
ghostscript vulnerabilities
osv·2017-08-28·CVSS 7.8
CVE-2017-11714 [HIGH] ghostscript vulnerabilities
ghostscript vulnerabilities
Kamil Frankowicz discovered that Ghostscript mishandles references.
A remote attacker could use this to cause a denial of service.
(CVE-2017-11714)
Kim Gwan Yeong discovered that Ghostscript could allow a heap-based buffer
over-read and application crash. A remote attacker could use a crafted
document to cause a denial of service. (CVE-2017-9611, CVE-2017-9726,
CVE-2017-9727, CVE-2017-9739)
Kim Gwan Yeong discovered an use-after-free vulnerability in Ghostscript.
A remote attacker could use a crafted file to cause a denial of service.
(CVE-2017-9612)
Kim Gwan Yeong discovered a lack of integer overflow check in Ghostscript.
A remote attacker could use crafted PostScript document to cause a denial
of service. (CVE-2017-9835)
OSV
CVE-2017-9835: The gs_alloc_ref_array function in psi/ialloc
osv·2017-07-26·CVSS 7.8
CVE-2017-9835 [HIGH] CVE-2017-9835: The gs_alloc_ref_array function in psi/ialloc
The gs_alloc_ref_array function in psi/ialloc.c in Artifex Ghostscript 9.21 allows remote attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via a crafted PostScript document. This is related to a lack of an integer overflow check in base/gsalloc.c.
Ubuntu
Ghostscript vulnerabilities
vendor_ubuntu·2017-08-28·CVSS 7.8
CVE-2017-11714 [HIGH] Ghostscript vulnerabilities
Title: Ghostscript vulnerabilities
Summary: Several security issues were fixed in Ghostscript.
Kamil Frankowicz discovered that Ghostscript mishandles references.
A remote attacker could use this to cause a denial of service.
(CVE-2017-11714)
Kim Gwan Yeong discovered that Ghostscript could allow a heap-based buffer
over-read and application crash. A remote attacker could use a crafted
document to cause a denial of service. (CVE-2017-9611, CVE-2017-9726,
CVE-2017-9727, CVE-2017-9739)
Kim Gwan Yeong discovered an use-after-free vulnerability in Ghostscript.
A remote attacker could use a crafted file to cause a denial of service.
(CVE-2017-9612)
Kim Gwan Yeong discovered a lack of integer overflow check in Ghostscript.
A remote attacker could use crafted PostScript document to cause a d
Red Hat
ghostscript: Heap-buffer over-read in the gs_alloc_ref_array function
vendor_redhat·2017-06-06·CVSS 7.8
CVE-2017-9835 [HIGH] CWE-122 ghostscript: Heap-buffer over-read in the gs_alloc_ref_array function
ghostscript: Heap-buffer over-read in the gs_alloc_ref_array function
The gs_alloc_ref_array function in psi/ialloc.c in Artifex Ghostscript 9.21 allows remote attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via a crafted PostScript document. This is related to a lack of an integer overflow check in base/gsalloc.c.
Package: ghostscript (Red Hat Enterprise Linux 5) - Will not fix
Package: ghostscript (Red Hat Enterprise Linux 6) - Will not fix
Package: ghostscript (Red Hat Enterprise Linux 7) - Will not fix
Debian
CVE-2017-9835: ghostscript - The gs_alloc_ref_array function in psi/ialloc.c in Artifex Ghostscript 9.21 allo...
vendor_debian·2017·CVSS 7.8
CVE-2017-9835 [HIGH] CVE-2017-9835: ghostscript - The gs_alloc_ref_array function in psi/ialloc.c in Artifex Ghostscript 9.21 allo...
The gs_alloc_ref_array function in psi/ialloc.c in Artifex Ghostscript 9.21 allows remote attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via a crafted PostScript document. This is related to a lack of an integer overflow check in base/gsalloc.c.
Scope: local
bookworm: resolved (fixed in 9.22~dfsg-1)
bullseye: resolved (fixed in 9.22~dfsg-1)
forky: resolved (fixed in 9.22~dfsg-1)
sid: resolved (fixed in 9.22~dfsg-1)
trixie: resolved (fixed in 9.22~dfsg-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-9610 CVE-2017-9611 CVE-2017-9612 CVE-2017-9618 CVE-2017-9619 CVE-2017-9620 CVE-2017-9726 CVE-2017-9727 CVE-2017-9739 CVE-2017-9740 CVE-2017-9835 ghostscript: various flaws [fedora-all]
bugzilla·2017-07-27·CVSS 7.8
CVE-2017-9610 [HIGH] CVE-2017-9610 CVE-2017-9611 CVE-2017-9612 CVE-2017-9618 CVE-2017-9619 CVE-2017-9620 CVE-2017-9726 CVE-2017-9727 CVE-2017-9739 CVE-2017-9740 CVE-2017-9835 ghostscript: various flaws [fedora-all]
CVE-2017-9610 CVE-2017-9611 CVE-2017-9612 CVE-2017-9618 CVE-2017-9619 CVE-2017-9620 CVE-2017-9726 CVE-2017-9727 CVE-2017-9739 CVE-2017-9740 CVE-2017-9835 ghostscript: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs b
Bugzilla
CVE-2017-9835 ghostscript: Heap-buffer over-read in the gs_alloc_ref_array function
bugzilla·2017-07-27·CVSS 7.8
CVE-2017-9835 [HIGH] CVE-2017-9835 ghostscript: Heap-buffer over-read in the gs_alloc_ref_array function
CVE-2017-9835 ghostscript: Heap-buffer over-read in the gs_alloc_ref_array function
The gs_alloc_ref_array function in psi/ialloc.c in Artifex Ghostscript 9.22 allows attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via a crafted PostScript document. This is related to a lack of an integer overflow check in base/gsalloc.c.
Upstream patch:
http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=cfde94be1d4286bc47633c6e6eaf4e659bd78066
Upstream issue:
https://bugs.ghostscript.com/show_bug.cgi?id=697985
Discussion:
Created ghostscript tracking bugs for this issue:
Affects: fedora-all [bug 1475838]
http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=cfde94be1d4286bc47633c6e6eaf4e659bd78066http://www.debian.org/security/2017/dsa-3986http://www.securityfocus.com/bid/99991https://bugs.ghostscript.com/show_bug.cgi?id=697985https://security.gentoo.org/glsa/201811-12http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=cfde94be1d4286bc47633c6e6eaf4e659bd78066http://www.debian.org/security/2017/dsa-3986http://www.securityfocus.com/bid/99991https://bugs.ghostscript.com/show_bug.cgi?id=697985https://security.gentoo.org/glsa/201811-12
2017-07-26
Published