oss-sec mailing list archives
Re: Re: More Ghostscript Issues: Should we disable PS coders in policy.xml by default?
From: "Perry E. Metzger" <perry () piermont com>
Date: Wed, 5 Sep 2018 20:37:19 -0400
On Wed, 5 Sep 2018 15:13:53 -0400 Stuart Gathman <stuart () gathman org> wrote:
On 09/05/2018 03:01 PM, Perry E. Metzger wrote:I haven't been following the bugs in depth (just noticing the continuous stream of them arriving), but is the issue security flaws in just -dSAFER or is it overall security bugs? If it's the former, given how few things actually need any of the features past what -dSAFER offers, perhaps compiling the code by default without any such capabilities would work well? You can't run what isn't there.Postscript is a general purpose programming language. It can do anything to your system that a C or Python program could. The SAFER sandbox was supposed to be able to prevent untrusted postscript code from doing serious damage. But this series of bugs shows that the sandbox is very flawed, and running untrusted postscript relying only on the SAFER sandbox is a very bad idea.
I know it's a general purpose language, but if you ifdef out *all* the IO (except to the page) and all system calls and the like from the implementation, there's limits to what it can do. As it stands the implementation has all those capabilities in the code, but does anything anyone cares about actually need any of them under any normal circumstances? If not, they can just be removed, which is a lot easier to audit than a sandbox. Perry -- Perry E. Metzger perry () piermont com
Current thread:
- Re: Re: More Ghostscript Issues: Should we disable PS coders in policy.xml by default?, (continued)
- Re: Re: More Ghostscript Issues: Should we disable PS coders in policy.xml by default? Tavis Ormandy (Aug 29)
- Re: Re: More Ghostscript Issues: Should we disable PS coders in policy.xml by default? Tavis Ormandy (Aug 29)
- Re: Re: More Ghostscript Issues: Should we disable PS coders in policy.xml by default? Marcus Meissner (Sep 03)
- Re: Re: More Ghostscript Issues: Should we disable PS coders in policy.xml by default? Tavis Ormandy (Sep 04)
- Re: Re: More Ghostscript Issues: Should we disable PS coders in policy.xml by default? Tavis Ormandy (Sep 04)
- Re: Re: More Ghostscript Issues: Should we disable PS coders in policy.xml by default? Brandon Perry (Sep 04)
- Re: Re: More Ghostscript Issues: Should we disable PS coders in policy.xml by default? Tavis Ormandy (Sep 04)
- Re: Re: More Ghostscript Issues: Should we disable PS coders in policy.xml by default? Tavis Ormandy (Sep 05)
- Re: Re: More Ghostscript Issues: Should we disable PS coders in policy.xml by default? Perry E. Metzger (Sep 05)
- Re: Re: More Ghostscript Issues: Should we disable PS coders in policy.xml by default? Stuart Gathman (Sep 05)
- Re: Re: More Ghostscript Issues: Should we disable PS coders in policy.xml by default? Perry E. Metzger (Sep 05)
- Re: Re: More Ghostscript Issues: Should we disable PS coders in policy.xml by default? Leonid Isaev (Sep 06)
- Re: Re: More Ghostscript Issues: Should we disable PS coders in policy.xml by default? Jakub Wilk (Sep 06)
- Re: Re: More Ghostscript Issues: Should we disable PS coders in policy.xml by default? Leonid Isaev (Sep 06)
- Re: Re: More Ghostscript Issues: Should we disable PS coders in policy.xml by default? Tavis Ormandy (Sep 09)
- Message not available
- Re: Ghostscript 9.24 issues Tavis Ormandy (Sep 09)
- Re: Re: Ghostscript 9.24 issues Marcus Meissner (Sep 10)
- Re: Re: More Ghostscript Issues: Should we disable PS coders in policy.xml by default? Marcus Meissner (Sep 06)
- Re: Re: More Ghostscript Issues: Should we disable PS coders in policy.xml by default? Tavis Ormandy (Aug 22)
- Re: Re: More Ghostscript Issues: Should we disable PS coders in policy.xml by default? Tavis Ormandy (Aug 22)
- Re: Re: More Ghostscript Issues: Should we disable PS coders in policy.xml by default? Tavis Ormandy (Aug 22)