| From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
|---|---|
| To: | Andres Freund <andres(at)anarazel(dot)de> |
| Cc: | "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: scary patch contest |
| Date: | 2026-08-26 17:17:17 |
| Message-ID: | CA+TgmobkWJQsNjpqsmjKNb75S3qdiMS+8g9Pi9eqXq_ZEpK9vw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Wed, Aug 26, 2026 at 10:29 AM Andres Freund <andres(at)anarazel(dot)de> wrote:
> > 5. SQL/PGQ property graphs (2f094e7ac69, Peter Eisentraut and Ashutosh
> > Bapat): 17 fixes, but lower severity — wrong collation, unresolved
> > literals, broken LATERAL references, deparse and pg_dump ACL bugs,
> > plus a series of after-the-fact prohibitions.
>
> I kind of unintentionally looked at this recently, after working on some
> nearby code:
> https://www.postgresql.org/message-id/dqa5mstx5mna3i7s23pdwl4m6bek7gqsgfccef44wjpswizufi%403aa6vzri3cat
Yikes. That doesn't look good at all. I would say those findings are
grounds for a review; obviously, the RMT will be the ones to decide.
> I think e.g. something like #4 (PORTION OF) and #5 (PGQ) are on the high-risk
> end, due to the broad exposure to users. If there's a bunch of security bugs -
> and there clearly are in #5 - a server admin / host can't really restrict the
> use of the feature, there's no separate permission to do so. Whereas
> something like #3 (online checksums) is fundamentally superuser only. With
> #4/#5 an attacker doing something intentionally adverse is possible with
> relatively low privileges, whereas the adversarial scenarios for #3 are a lot
> more far fetched, due to almost exlusively being superuser only operations.
Right, if #3 is a problem, it's a problem because people will get
bogus checksum complaints and be scared when they shouldn't be (or, if
it's really bad, their data will get corrupted). It won't likely be a
security issue.
--
Robert Haas
EDB: http://www.enterprisedb.com
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2026-08-26 17:25:12 | Re: remove_useless_joins vs. bug #19560 |
| Previous Message | Sergey | 2026-08-26 16:58:45 | Re: Patch for migration of the pg_commit_ts directory |