2 results (0.014 seconds)

CVSS: 9.8EPSS: 0%CPEs: 2EXPL: 0

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. • https://github.com/jackc/pgproto3/commit/945c2126f6db8f3bea7eeebe307c01fe92bca007 https://github.com/jackc/pgproto3/security/advisories/GHSA-7jwh-3vrq-q3m8 https://github.com/jackc/pgx/commit/adbb38f298c76e283ffc7c7a3f571036fea47fd4 https://github.com/jackc/pgx/commit/c543134753a0c5d22881c12404025724cb05ffd8 https://github.com/jackc/pgx/commit/f94eb0e2f96782042c96801b5ac448f44f0a81df https://github.com/jackc/pgx/security/advisories/GHSA-mrww-27vc-gghv https://access.redhat.com/security/cve/CVE-2024-27304 https://bugzilla.redhat.com/ • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') CWE-190: Integer Overflow or Wraparound •

CVSS: 8.1EPSS: 0%CPEs: 1EXPL: 0

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. A flaw was found in pgx. • https://github.com/jackc/pgx/commit/f94eb0e2f96782042c96801b5ac448f44f0a81df https://github.com/jackc/pgx/security/advisories/GHSA-m7wr-2xf7-cm9p https://access.redhat.com/security/cve/CVE-2024-27289 https://bugzilla.redhat.com/show_bug.cgi?id=2268465 • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') •