golang-github-jackc-pgx: CVE-2024-27304

Related Vulnerabilities: CVE-2024-27304  

Debian Bug report logs - #1065687
golang-github-jackc-pgx: CVE-2024-27304

version graph

Reported by: Salvatore Bonaccorso <carnil@debian.org>

Date: Fri, 8 Mar 2024 21:42:04 UTC

Severity: important

Tags: security, upstream

Found in version golang-github-jackc-pgx/4.18.1-1

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, carnil@debian.org, team@security.debian.org, Debian Go Packaging Team <team+pkg-go@tracker.debian.org>:
Bug#1065687; Package src:golang-github-jackc-pgx. (Fri, 08 Mar 2024 21:42:06 GMT) (full text, mbox, link).


Acknowledgement sent to Salvatore Bonaccorso <carnil@debian.org>:
New Bug report received and forwarded. Copy sent to carnil@debian.org, team@security.debian.org, Debian Go Packaging Team <team+pkg-go@tracker.debian.org>. (Fri, 08 Mar 2024 21:42:06 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Salvatore Bonaccorso <carnil@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: golang-github-jackc-pgx: CVE-2024-27304
Date: Fri, 08 Mar 2024 22:39:52 +0100
Source: golang-github-jackc-pgx
Version: 4.18.1-1
Severity: important
Tags: security upstream
X-Debbugs-Cc: carnil@debian.org, Debian Security Team <team@security.debian.org>

Hi,

The following vulnerability was published for golang-github-jackc-pgx.

CVE-2024-27304[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.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2024-27304
    https://www.cve.org/CVERecord?id=CVE-2024-27304
[1] https://github.com/jackc/pgx/security/advisories/GHSA-mrww-27vc-gghv
[2] https://github.com/jackc/pgx/commit/f94eb0e2f96782042c96801b5ac448f44f0a81df

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Mar 9 11:51:18 2024; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.