SQL Injection Affecting github.com/jackc/pgx/v5/pgconn package, versions <5.5.4
Threat Intelligence
EPSS
0.04% (12th
percentile)
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-6371509
- published 5 Mar 2024
- disclosed 4 Mar 2024
- credit Paul Gerste
Introduced: 4 Mar 2024
CVE-2024-27304 Open this link in a new tabHow to fix?
Upgrade github.com/jackc/pgx/v5/pgconn
to version 5.5.4 or higher.
Overview
github.com/jackc/pgx/v5/pgconn is a low-level PostgreSQL database driver
Affected versions of this package are vulnerable to SQL Injection due to an integer overflow in the calculated message size, which can cause a single query or bind message to exceed 4 GB in size, allowing the message to be interpreted as multiple messages, which can be executed in an unauthorized way.
References
CVSS Scores
version 3.1