CVE-2019-3838
published 2019-03-25CVE-2019-3838: It was found that the forceput operator could be extracted from the DefineResource method in ghostscript before 9.27. A specially crafted PostScript file could…
PriorityP430medium5.5CVSS 3.1
AVLACLPRNUIRSUCHINAN
EPSS
2.64%
83.9th percentile
It was found that the forceput operator could be extracted from the DefineResource method in ghostscript before 9.27. A specially crafted PostScript file could use this flaw in order to, for example, have access to the file system outside of the constrains imposed by -dSAFER.
Affected
23 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| artifex | ghostscript | < 9.27 | 9.27 |
| artifex | ghostscript | >= 0 < 9.27~dfsg-1 | 9.27~dfsg-1 |
| artifex | ghostscript | >= 0 < 9.27~dfsg-1 | 9.27~dfsg-1 |
| artifex | ghostscript | >= 0 < 9.27~dfsg-1 | 9.27~dfsg-1 |
| artifex | ghostscript | >= 0 < 9.27~dfsg-1 | 9.27~dfsg-1 |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | ghostscript | < ghostscript 9.27~dfsg-1 (bookworm) | ghostscript 9.27~dfsg-1 (bookworm) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| opensuse | leap | — | — |
| opensuse | leap | — | — |
| redhat | ansible_tower | — | — |
| redhat | enterprise_linux | — | — |
| redhat | enterprise_linux | — | — |
| redhat | enterprise_linux_desktop | — | — |
| redhat | enterprise_linux_server | — | — |
| redhat | enterprise_linux_server_aus | — | — |
| redhat | enterprise_linux_server_eus | — | — |
| redhat | enterprise_linux_server_tus | — | — |
| redhat | enterprise_linux_workstation | — | — |
| the_ghostscript_project | ghostscript | — | — |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
nvdv3.07.3HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:P/I:N/A:N
osv5.5MEDIUM
vendor_redhat7.8HIGH
vendor_debian5.5MEDIUM
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-wvh9-rmg8-crq6: It was found that the forceput operator could be extracted from the DefineResource method in ghostscript before 9
ghsa_unreviewed·2022-05-13
CVE-2019-3838 [MEDIUM] GHSA-wvh9-rmg8-crq6: It was found that the forceput operator could be extracted from the DefineResource method in ghostscript before 9
It was found that the forceput operator could be extracted from the DefineResource method in ghostscript before 9.27. A specially crafted PostScript file could use this flaw in order to, for example, have access to the file system outside of the constrains imposed by -dSAFER.
OSV
CVE-2019-3838: It was found that the forceput operator could be extracted from the DefineResource method in ghostscript before 9
osv·2019-03-25·CVSS 5.5
CVE-2019-3838 [MEDIUM] CVE-2019-3838: It was found that the forceput operator could be extracted from the DefineResource method in ghostscript before 9
It was found that the forceput operator could be extracted from the DefineResource method in ghostscript before 9.27. A specially crafted PostScript file could use this flaw in order to, for example, have access to the file system outside of the constrains imposed by -dSAFER.
Ubuntu
Ghostscript vulnerabilities
vendor_ubuntu·2019-03-21
CVE-2019-3835 Ghostscript vulnerabilities
Title: Ghostscript vulnerabilities
Summary: Several security issues were fixed in Ghostscript.
It was discovered that Ghostscript incorrectly handled certain PostScript
files. If a user or automated system were tricked into processing a
specially crafted file, a remote attacker could possibly use this issue to
access arbitrary files, execute arbitrary code, or cause a denial of
service.
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
ghostscript: forceput in DefineResource is still accessible (700576)
vendor_redhat·2019-03-21·CVSS 7.8
CVE-2019-3838 [HIGH] CWE-648 ghostscript: forceput in DefineResource is still accessible (700576)
ghostscript: forceput in DefineResource is still accessible (700576)
It was found that the forceput operator could be extracted from the DefineResource method in ghostscript before 9.27. A specially crafted PostScript file could use this flaw in order to, for example, have access to the file system outside of the constrains imposed by -dSAFER.
It was found that the forceput operator could be extracted from the DefineResource method. A specially crafted PostScript file could use this flaw in order to, for example, have access to the file system outside of the constrains imposed by -dSAFER.
Mitigation: Please refer to the "Mitigation" section of CVE-2018-16509 : https://access.redhat.com/security/cve/cve-2018-16509
Package: ghostscript (Red Hat Enterprise Linux 5) - Will not fix
Package
Debian
CVE-2019-3838: ghostscript - It was found that the forceput operator could be extracted from the DefineResour...
vendor_debian·2019·CVSS 5.5
CVE-2019-3838 [MEDIUM] CVE-2019-3838: ghostscript - It was found that the forceput operator could be extracted from the DefineResour...
It was found that the forceput operator could be extracted from the DefineResource method in ghostscript before 9.27. A specially crafted PostScript file could use this flaw in order to, for example, have access to the file system outside of the constrains imposed by -dSAFER.
Scope: local
bookworm: resolved (fixed in 9.27~dfsg-1)
bullseye: resolved (fixed in 9.27~dfsg-1)
forky: resolved (fixed in 9.27~dfsg-1)
sid: resolved (fixed in 9.27~dfsg-1)
trixie: resolved (fixed in 9.27~dfsg-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2019-3839 ghostscript: missing attack vector protections for CVE-2019-6116 [fedora-all]
bugzilla·2019-09-02·CVSS 7.8
CVE-2019-3839 [HIGH] CVE-2019-3839 ghostscript: missing attack vector protections for CVE-2019-6116 [fedora-all]
CVE-2019-3839 ghostscript: missing attack vector protections for CVE-2019-6116 [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 being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supp
Bugzilla
CVE-2019-3838 ghostscript: forceput in DefineResource is still accessible (700576) [fedora-all]
bugzilla·2019-03-21·CVSS 5.5
CVE-2019-3838 [MEDIUM] CVE-2019-3838 ghostscript: forceput in DefineResource is still accessible (700576) [fedora-all]
CVE-2019-3838 ghostscript: forceput in DefineResource is still accessible (700576) [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 being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple
Bugzilla
CVE-2019-3838 ghostscript: forceput in DefineResource is still accessible (700576)
bugzilla·2019-02-15·CVSS 7.8
CVE-2019-3838 [HIGH] CVE-2019-3838 ghostscript: forceput in DefineResource is still accessible (700576)
CVE-2019-3838 ghostscript: forceput in DefineResource is still accessible (700576)
The .forceput (or .forcedef depending on the ghostscript version) is still accessible via DefineResource. An attacker could use this flaw to bypass -dSAFER restriction and, for example, have access to the file system outside of the designated restricted directories.
Discussion:
External References:
https://bugs.ghostscript.com/show_bug.cgi?id=700576
---
Mitigation:
Please refer to the "Mitigation" section of CVE-2018-16509 : https://access.redhat.com/security/cve/cve-2018-16509
---
The following upstream fixes resolve the issue :
https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=ed9fcd95bb01
https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=a82601e8f95a
---
Acknowledgments:
Nam
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00011.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-04/msg00018.htmlhttp://packetstormsecurity.com/files/152367/Slackware-Security-Advisory-ghostscript-Updates.htmlhttps://access.redhat.com/errata/RHSA-2019:0652https://access.redhat.com/errata/RHSA-2019:0971https://bugs.ghostscript.com/show_bug.cgi?id=700576https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3838https://lists.debian.org/debian-lts-announce/2019/04/msg00021.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A43SRQAEHQCKSEMIBINHUNIGHTDCZD7F/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ANBSCZABXQUEQWIKNWJ35IYX24M227EI/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SVERLGEU3OV6RNZ2SIBXREWD3BF5H23N/https://seclists.org/bugtraq/2019/Apr/28https://seclists.org/bugtraq/2019/Apr/4https://security.gentoo.org/glsa/202004-03https://www.debian.org/security/2019/dsa-4432http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00011.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-04/msg00018.htmlhttp://packetstormsecurity.com/files/152367/Slackware-Security-Advisory-ghostscript-Updates.htmlhttps://access.redhat.com/errata/RHSA-2019:0652https://access.redhat.com/errata/RHSA-2019:0971https://bugs.ghostscript.com/show_bug.cgi?id=700576https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3838https://lists.debian.org/debian-lts-announce/2019/04/msg00021.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A43SRQAEHQCKSEMIBINHUNIGHTDCZD7F/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ANBSCZABXQUEQWIKNWJ35IYX24M227EI/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SVERLGEU3OV6RNZ2SIBXREWD3BF5H23N/https://seclists.org/bugtraq/2019/Apr/28https://seclists.org/bugtraq/2019/Apr/4https://security.gentoo.org/glsa/202004-03https://www.debian.org/security/2019/dsa-4432
2019-03-25
Published