VDB
Sign up
HIGH7.5

GHSA-jqcq-xjh3-6g23

Denial of service in github.com/jackc/pgproto3/v2

Details

The DataRow.Decode function fails to properly validate field lengths. A malicious or compromised PostgreSQL server can send a DataRow message with a negative field length, causing a slice bounds out of range panic.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/jackc/pgproto3/v2
Introduced in: 2.0.0

No fixed version published yet for github.com/jackc/pgproto3/v2 (go modules). Pin to a known-safe version or switch to an alternative.

References