—
GO-2024-2567
Panic in Pipeline when PgConn is busy or closed in github.com/jackc/pgx
Quick fix
GO-2024-2567 — github.com/jackc/pgx/v5: upgrade to the fixed version with the command below.
go get github.com/jackc/pgx/v5@v5.5.2Details
Pipeline can panic when PgConn is busy or closed.
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/jackc/pgx/v5
Introduced in:
5.0.0-alpha.5Fixed in: 5.5.2Fix
go get github.com/jackc/pgx/v5@v5.5.2References
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:golang/github.com/jackc/pgx/v5"]}'