{"id":"CVE-2016-7977","state":"PUBLISHED","title":"Ghostscript before 9.21 might allow remote attackers to bypass the SAFER mode protection mechanism and consequently read arbitrary files via the use of the .libfile operator in a c","description":"Ghostscript before 9.21 might allow remote attackers to bypass the SAFER mode protection mechanism and consequently read arbitrary files via the use of the .libfile operator in a crafted postscript document.","publishedAt":"2017-05-23T03:56:00.000Z","updatedAt":"2024-08-06T02:13:21.566Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://www.debian.org/security/2016/dsa-3691","http://www.securityfocus.com/bid/95334","http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html","http://rhn.redhat.com/errata/RHSA-2017-0013.html","http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=8abd22010eb4db0fb1b10e430d5f5d83e015ef70","http://www.openwall.com/lists/oss-security/2016/09/29/28","http://rhn.redhat.com/errata/RHSA-2017-0014.html","https://bugs.ghostscript.com/show_bug.cgi?id=697169","http://www.openwall.com/lists/oss-security/2016/10/05/15","https://ghostscript.com/doc/9.21/History9.htm","https://security.gentoo.org/glsa/201702-31"],"weaknesses":[],"ingestedAt":"2026-10-29T19:42:53.149Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2016/7xxx/CVE-2016-7977.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2016-7977","state":"PUBLISHED","datePublished":"2017-05-23T03:56:00.000Z","dateUpdated":"2024-08-06T02:13:21.566Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2016-09-09T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"Ghostscript before 9.21 might allow remote attackers to bypass the SAFER mode protection mechanism and consequently read arbitrary files via the use of the .libfile operator in a crafted postscript document."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://www.debian.org/security/2016/dsa-3691","name":"DSA-3691","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://www.securityfocus.com/bid/95334","name":"95334","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html","tags":["x_refsource_CONFIRM"]},{"url":"http://rhn.redhat.com/errata/RHSA-2017-0013.html","name":"RHSA-2017:0013","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=8abd22010eb4db0fb1b10e430d5f5d83e015ef70","tags":["x_refsource_CONFIRM"]},{"url":"http://www.openwall.com/lists/oss-security/2016/09/29/28","name":"[oss-security] 20160928 Re: ImageMagick identify \"d:\" hangs","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://rhn.redhat.com/errata/RHSA-2017-0014.html","name":"RHSA-2017:0014","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://bugs.ghostscript.com/show_bug.cgi?id=697169","tags":["x_refsource_CONFIRM"]},{"url":"http://www.openwall.com/lists/oss-security/2016/10/05/15","name":"[oss-security] 20161005 Re: CVE Request - multiple ghostscript -dSAFER sandbox problems","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://ghostscript.com/doc/9.21/History9.htm","tags":["x_refsource_CONFIRM"]},{"url":"https://security.gentoo.org/glsa/201702-31","name":"GLSA-201702-31","tags":["vendor-advisory","x_refsource_GENTOO"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2018-01-18T01:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2016-09-28T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2016-7977","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"Ghostscript before 9.21 might allow remote attackers to bypass the SAFER mode protection mechanism and consequently read arbitrary files via the use of the .libfile operator in a crafted postscript document."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"DSA-3691","refsource":"DEBIAN","url":"http://www.debian.org/security/2016/dsa-3691"},{"name":"95334","refsource":"BID","url":"http://www.securityfocus.com/bid/95334"},{"name":"http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html","refsource":"CONFIRM","url":"http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html"},{"name":"RHSA-2017:0013","refsource":"REDHAT","url":"http://rhn.redhat.com/errata/RHSA-2017-0013.html"},{"name":"http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=8abd22010eb4db0fb1b10e430d5f5d83e015ef70","refsource":"CONFIRM","url":"http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=8abd22010eb4db0fb1b10e430d5f5d83e015ef70"},{"name":"[oss-security] 20160928 Re: ImageMagick identify \"d:\" hangs","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2016/09/29/28"},{"name":"RHSA-2017:0014","refsource":"REDHAT","url":"http://rhn.redhat.com/errata/RHSA-2017-0014.html"},{"name":"https://bugs.ghostscript.com/show_bug.cgi?id=697169","refsource":"CONFIRM","url":"https://bugs.ghostscript.com/show_bug.cgi?id=697169"},{"name":"[oss-security] 20161005 Re: CVE Request - multiple ghostscript -dSAFER sandbox problems","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2016/10/05/15"},{"name":"https://ghostscript.com/doc/9.21/History9.htm","refsource":"CONFIRM","url":"https://ghostscript.com/doc/9.21/History9.htm"},{"name":"GLSA-201702-31","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/201702-31"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.debian.org/security/2016/dsa-3691","name":"DSA-3691","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://www.securityfocus.com/bid/95334","name":"95334","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://rhn.redhat.com/errata/RHSA-2017-0013.html","name":"RHSA-2017:0013","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=8abd22010eb4db0fb1b10e430d5f5d83e015ef70","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2016/09/29/28","name":"[oss-security] 20160928 Re: ImageMagick identify \"d:\" hangs","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://rhn.redhat.com/errata/RHSA-2017-0014.html","name":"RHSA-2017:0014","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://bugs.ghostscript.com/show_bug.cgi?id=697169","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2016/10/05/15","name":"[oss-security] 20161005 Re: CVE Request - multiple ghostscript -dSAFER sandbox problems","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://ghostscript.com/doc/9.21/History9.htm","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://security.gentoo.org/glsa/201702-31","name":"GLSA-201702-31","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-06T02:13:21.566Z"}}]}}}