CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2024

CVE-2024-27304
Pgproto3 Project Pgproto3 vulnerability

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.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Pgproto3, Pgx. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Pgproto3 Project Pgproto3 runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.