From: perry-mitchell (@perry-mitchell) <noreply+perry-mitchell@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #805: 0.8.0 flagged with CVE-2023-24538
Date: Thu, 27 Mar 2025 07:15:35 +0000
Message-ID: <gh-pgvector-pgvector-805-c2756972407@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-805@github.com>
References: <gh-pgvector-pgvector-805@github.com>
For anyone hitting the same issue, I got around this by simply dropping `gosu`, which isn't needed in normal operation:
```
FROM pgvector/pgvector:0.8.0-pg17
RUN rm -rf /usr/local/bin/gosu
USER postgres
```
Imo there'd be better ways to do the same thing besides using a custom tool like gosu but that's a postgres decision not bound to this repository.