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
*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
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.
pgx is a PostgreSQL driver and toolkit for Go. Prior to version 4.18.2, SQL injection can occur when all of the following conditions are met: the non-default simple protocol is used; a placeholder for a numeric value must be immediately preceded by a minus; there must be a second placeholder for a string value after the first placeholder; both must be on the same line; and both parameter values must be user-controlled. The problem is resolved in v4.18.2. As a workaround, do not use the simple protocol or do not place a minus directly before a placeholder.
Vulnerable Library - gorm.io/driver/postgres-v1.5.7
Path to dependency file: /capten/go.mod
Path to vulnerable library: /go/pkg/mod/cache/download/github.com/jackc/pgx/v5/@v/v5.4.3.mod
Vulnerabilities
*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
Details
CVE-2024-27304
Vulnerable Library - github.com/jackc/Pgx/v5-v5.4.3
Library home page: https://proxy.golang.org/github.com/jackc/!pgx/v5/@v/v5.4.3.zip
Path to dependency file: /capten/go.mod
Path to vulnerable library: /go/pkg/mod/cache/download/github.com/jackc/pgx/v5/@v/v5.4.3.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
CVE-2024-27289
Vulnerable Library - github.com/jackc/Pgx/v5-v5.4.3
Library home page: https://proxy.golang.org/github.com/jackc/!pgx/v5/@v/v5.4.3.zip
Path to dependency file: /capten/go.mod
Path to vulnerable library: /go/pkg/mod/cache/download/github.com/jackc/pgx/v5/@v/v5.4.3.mod
Dependency Hierarchy:
Found in base branch: main
Vulnerability Details
pgx is a PostgreSQL driver and toolkit for Go. Prior to version 4.18.2, SQL injection can occur when all of the following conditions are met: the non-default simple protocol is used; a placeholder for a numeric value must be immediately preceded by a minus; there must be a second placeholder for a string value after the first placeholder; both must be on the same line; and both parameter values must be user-controlled. The problem is resolved in v4.18.2. As a workaround, do not use the simple protocol or do not place a minus directly before a placeholder.
Publish Date: 2024-03-06
URL: CVE-2024-27289
CVSS 3 Score Details (8.1)
Base Score Metrics:
Suggested Fix
Type: Upgrade version
Origin: GHSA-m7wr-2xf7-cm9p
Release Date: 2024-03-06
Fix Resolution: 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: