{"id":"CVE-2019-14812","state":"PUBLISHED","title":"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 `-d","description":"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.","publishedAt":"2019-11-27T13:50:15.000Z","updatedAt":"2024-08-05T00:26:39.040Z","severity":{"score":7.3,"label":"High","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","source":"redhat"},"assigner":"redhat","products":["Red Hat ghostscript"],"affected":[{"vendor":"Red Hat","product":"ghostscript","versions":[{"version":"all ghostscript versions 9.x before 9.50","status":"affected"}]}],"references":["http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=885444fcbe10dc42787ecb76686c8ee4dd33bf33","https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14812","https://access.redhat.com/security/cve/cve-2019-14812","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LBUC4DBBJTRFNCR3IODBV4IXB2C2HI3V/","https://bugs.ghostscript.com/show_bug.cgi?id=701444","https://security.gentoo.org/glsa/202004-03"],"weaknesses":["CWE-648"],"ingestedAt":"2026-10-29T19:45:30.451Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2019/14xxx/CVE-2019-14812.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2019-14812","state":"PUBLISHED","datePublished":"2019-11-27T13:50:15.000Z","dateUpdated":"2024-08-05T00:26:39.040Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2019-08-10T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Red Hat","product":"ghostscript","versions":[{"version":"all ghostscript versions 9.x before 9.50","status":"affected"}]}],"references":[{"url":"http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=885444fcbe10dc42787ecb76686c8ee4dd33bf33","tags":["x_refsource_CONFIRM"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14812","tags":["x_refsource_CONFIRM"]},{"url":"https://access.redhat.com/security/cve/cve-2019-14812","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LBUC4DBBJTRFNCR3IODBV4IXB2C2HI3V/","tags":["x_refsource_CONFIRM"]},{"url":"https://bugs.ghostscript.com/show_bug.cgi?id=701444","tags":["x_refsource_CONFIRM"]},{"url":"https://security.gentoo.org/glsa/202004-03","name":"GLSA-202004-03","tags":["vendor-advisory","x_refsource_GENTOO"]}],"metrics":[{"cvssV3_0":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":7.3,"baseSeverity":"HIGH","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","version":"3.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-648","description":"CWE-648","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"redhat","dateUpdated":"2020-04-01T21:06:09.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"secalert@redhat.com","ID":"CVE-2019-14812","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"ghostscript","version":{"version_data":[{"version_value":"all ghostscript versions 9.x before 9.50"}]}}]},"vendor_name":"Red Hat"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":[[{"vectorString":"7.3/CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","version":"3.0"}]]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-648"}]}]},"references":{"reference_data":[{"name":"http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=885444fcbe10dc42787ecb76686c8ee4dd33bf33","refsource":"CONFIRM","url":"http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=885444fcbe10dc42787ecb76686c8ee4dd33bf33"},{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14812","refsource":"CONFIRM","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14812"},{"name":"https://access.redhat.com/security/cve/cve-2019-14812","refsource":"CONFIRM","url":"https://access.redhat.com/security/cve/cve-2019-14812"},{"name":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LBUC4DBBJTRFNCR3IODBV4IXB2C2HI3V/","refsource":"CONFIRM","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LBUC4DBBJTRFNCR3IODBV4IXB2C2HI3V/"},{"name":"https://bugs.ghostscript.com/show_bug.cgi?id=701444","refsource":"CONFIRM","url":"https://bugs.ghostscript.com/show_bug.cgi?id=701444"},{"name":"GLSA-202004-03","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/202004-03"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=885444fcbe10dc42787ecb76686c8ee4dd33bf33","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14812","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://access.redhat.com/security/cve/cve-2019-14812","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LBUC4DBBJTRFNCR3IODBV4IXB2C2HI3V/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://bugs.ghostscript.com/show_bug.cgi?id=701444","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://security.gentoo.org/glsa/202004-03","name":"GLSA-202004-03","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T00:26:39.040Z"}}]}}}