SQL Injection Affecting github.com/jackc/pgproto3 package, versions *


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (12th 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 Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMJACKCPGPROTO3-6371506
  • published5 Mar 2024
  • disclosed4 Mar 2024
  • creditPaul Gerste

Introduced: 4 Mar 2024

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

How to fix?

There is no fixed version for github.com/jackc/pgproto3.

Overview

Affected versions of this package are vulnerable to SQL Injection due to an integer overflow in the calculated message size, which can cause a single query or bind message to exceed 4 GB in size, allowing the message to be interpreted as multiple messages, which can be executed in an unauthorized way.

CVSS Scores

version 3.1