Description
CVE-2024-27304 - Critical Severity Vulnerability
Vulnerable Library - github.com/jackc/pgproto3/v2-v2.3.2
Library home page: https://proxy.golang.org/github.com/jackc/pgproto3/v2/@v/v2.3.2.zip
Path to dependency file: /engine/go.mod
Path to vulnerable library: /home/wss-scanner/go/pkg/mod/cache/download/github.com/jackc/pgproto3/v2/@v/v2.3.2.mod
Dependency Hierarchy:
- github.com/jacKc/pgx/v4-v4.18.1 (Root Library)
- ❌ github.com/jackc/pgproto3/v2-v2.3.2 (Vulnerable Library)
Found in base branch: master
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:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: High
- Integrity Impact: High
- Availability Impact: High
Step up your Open Source Security Game with Mend here