Uncaught Exception Affecting github.com/jackc/pgx/v5/pgconn package, versions >=5.0.0-alpha.5 <5.5.2
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-GOLANG-GITHUBCOMJACKCPGXV5PGCONN-7416899
- published 3 Jul 2024
- disclosed 2 Jul 2024
- credit Unknown
How to fix?
Upgrade github.com/jackc/pgx/v5/pgconn
to version 5.5.2 or higher.
Overview
github.com/jackc/pgx/v5/pgconn is a low-level PostgreSQL database driver
Affected versions of this package are vulnerable to Uncaught Exception that allows creating a pipeline in error with a PgConn
that is busy or closed. This allows an attacker who can ascertain that a pipeline is in such a state to trigger a panic by calling the Sync()
function on the pipeline.