CVE-2024-27304 Affecting golang-github-jackc-pgx package, versions *


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.04% (13th 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 IDSNYK-DEBIANUNSTABLE-GOLANGGITHUBJACKCPGX-6405787
  • published7 Mar 2024
  • disclosed6 Mar 2024

Introduced: 6 Mar 2024

CVE-2024-27304  (opens in a new tab)

How to fix?

There is no fixed version for Debian:unstable golang-github-jackc-pgx.

NVD Description

Note: Versions mentioned in the description apply only to the upstream golang-github-jackc-pgx package and not the golang-github-jackc-pgx package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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.

CVSS Scores

version 3.1