You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pgx is a PostgreSQL driver and toolkit for Go. SQL injection can occur if an attacker can cause a single query or bind message to exceed 4 GB in size. An integer overflow in the calculated message size can cause the one large message to be sent as multiple messages under the attacker's control. The problem is resolved in v4.18.2 and v5.5.4. As a workaround, reject user input large enough to cause a single query or bind message to exceed 4 GB in size.
mend-bolt-for-githubbot
changed the title
CVE-2024-27304 (Critical) detected in github.com/Jackc/pgx/v5-v5.5.2
CVE-2024-27304 (Critical) detected in github.com/Jackc/pgx/v5-v5.5.2 - autoclosed
Apr 25, 2024
✔️ This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.
CVE-2024-27304 - Critical Severity Vulnerability
Vulnerable Library - github.com/Jackc/pgx/v5-v5.5.2
PostgreSQL driver and toolkit for Go
Library home page: https://proxy.golang.org/github.com/!jackc/pgx/v5/@v/v5.5.2.zip
Path to dependency file: /go.mod
Path to vulnerable library: /go.mod
Dependency Hierarchy:
Found in base branch: main
Vulnerability Details
pgx is a PostgreSQL driver and toolkit for Go. SQL injection can occur if an attacker can cause a single query or bind message to exceed 4 GB in size. An integer overflow in the calculated message size can cause the one large message to be sent as multiple messages under the attacker's control. The problem is resolved in v4.18.2 and v5.5.4. As a workaround, reject user input large enough to cause a single query or bind message to exceed 4 GB in size.
Publish Date: 2024-03-06
URL: CVE-2024-27304
CVSS 3 Score Details (9.8)
Base Score Metrics:
Suggested Fix
Type: Upgrade version
Origin: GHSA-mrww-27vc-gghv
Release Date: 2024-03-06
Fix Resolution: jackc/pgproto3 - v2.3.3, github.com/jackc/pgx - v4.18.2,v5.5.4
Step up your Open Source Security Game with Mend here
The text was updated successfully, but these errors were encountered: