pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: jkatz (@jkatz) <noreply+jkatz@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #288: Any chance to see this extension packaged as trusted?
Date: Wed, 04 Oct 2023 12:43:05 +0000
Message-ID: <gh-pgvector-pgvector-288-c1746801421@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-288@github.com>
References: <gh-pgvector-pgvector-288@github.com>

I currently disagree with making it trusted for everyone (13+ included) and instead recommend continuing to allow database administrators to determine on their own if it should be trusted or not.

While I do think the pgvector codebase is well maintained and vetted for possible vulnerabilities, installation and other modifications operations will run as the database superuser, which means that the installing user will have temporary superuser access.

While we should ensure that pgvector code can meet that bar, I still think it's better for a database administrator to make the call if the extension should be trusted or not. There have been known privilege escalation paths in PostgreSQL through extensions (eg CVE-2022-2625), so I think it's safer (at least for now) to leave things as is.

view thread (7+ messages)  latest in thread

Message-ID: <gh-pgvector-pgvector-288-c1746801421@github.com>
Permalink:  ../gh-pgvector-pgvector-288-c1746801421@github.com/

 · 


This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox