Re: Security lessons from liblzma - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Re: Security lessons from liblzma
Date
Msg-id 0E497671-C2C9-4B15-8A02-A167E5B4ED38@yesql.se
Whole thread Raw
In response to Re: Security lessons from liblzma  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Security lessons from liblzma
List pgsql-hackers
> On 4 Apr 2024, at 21:38, Robert Haas <robertmhaas@gmail.com> wrote:

> Essentially, your argument is the same as his, namely: hey, don't
> worry, you could totally verify these test files if you wanted to! But
> of course, nobody did, because it was hard, and everybody had better
> things to do with their time. And I think the same thing is probably
> true here: nobody really is going to verify much about these files.

I don't disagree, like I said that very email: it's non-trivial and I wish we
could make it better somehow, but I don't hav an abundance of good ideas.

Removing the generated versions and creating them when running tests makes
sneaking in malicious content harder since it then has to be submitted in
clear-text *only*.  The emphasis added since it's like that today as well: *I*
fully trust our team of committers to not accept a binary file in a patch
without replacing with a regenerated version, but enforcing it might make it
easier for a wider community to share that level of trust?

--
Daniel Gustafsson




pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: WIP Incremental JSON Parser
Next
From: Robert Haas
Date:
Subject: Re: psql not responding to SIGINT upon db reconnection