SQL Injection Affecting github.com/jackc/pgx/v5/pgproto3 package, versions <5.5.4
Snyk CVSS
Attack Complexity
Low
Scope
Changed
Threat Intelligence
EPSS
0.04% (10th
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-GITHUBCOMJACKCPGXV5PGPROTO3-6371510
- 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/pgproto3
to version 5.5.4 or higher.
Overview
github.com/jackc/pgx/v5/pgproto3 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.