Replies: 3 comments 3 replies
|
Hi. The plan is to release v1.20.0 after testing with Postgres 19 GA release, which makes the v1.20.0 release date dependent on the Postgres 19 release date. Postgres 19 support is being incrementally added to So far we did not make a minor release of v1.19 as we concluded that the reported vulnerabilities would not expose the user of pgmetrics to any risk or harm. However, I'm OK with tagging commit |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi, and thanks for pgmetrics — we package it for our on-prem product and it has been rock solid.
We are hitting a supply-chain issue that we cannot resolve on our side without diverging from your releases, so I wanted to ask about your release plans before we do anything unusual.
The problem
Security scanners flag three CVEs in
github.com/jackc/pgx/v5in the latest tagged release:pgproto3(Backend.Receive,Bind.Decode)pgproto3(Backend.Receive,FunctionCall.Decode)pgx:v1.18.0→pgx/v5 v5.7.6— affectedv1.19.0(latest release, Jan 2026) →pgx/v5 v5.8.0— still affectedmaster→pgx/v5 v5.10.0— cleanSo the fix is already on
master(93a19b2, "Update to latest go and build deps", Aug 16), but there is no tagged release that carries it.v1.19.0predates the pgx patches, so no existing release can contain them.Reachability analysis, in case it helps prioritisation
We ran
govulncheckin source mode againstv1.19.0to see what is actually reachable from pgmetrics code, rather than merely present in the binary:pgproto3.Backend). The linker keeps them in the binary, so binary-mode scanners report them, but nothing in pgmetrics calls them.We are not claiming this is exploitable in practice — pgmetrics builds its own SQL, and exploitation would need an attacker-controlled placeholder value inside a dollar-quoted literal. But it is enough to keep scanners red and to block us from declaring the package unaffected.
As a check, we rebuilt the
v1.19.0tag with only the dependencies bumped (pgxto 5.10.0, plusgolang.org/x/netandgolang.org/x/text). It builds with no source changes, andgovulncheckthen reports zero reachable vulnerabilities, down from four.The question
Are you planning a release in the near future that would include the updated dependencies?
If the Postgres 19 work currently on
masterneeds more time, would you consider cutting a patch release from thev1.19.0tag with just the dependency bumps? That would let downstream packagers stay on official release artifacts instead of building from an untagged commit, which is what we would otherwise have to do.Happy to help with testing or to open a PR if that would be useful. Thanks!
All reactions