Advisory

DEBIAN-CVE-2024-27304

Also known as: CVE-2024-27304

Summary

The record has no summary.

Details

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.

Severity

Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2024-03-06 19:15 UTC
Modified
2026-11-02 12:02 UTC

Affected packages and fixes

golang-github-jackc-pgconn

Debian packages (deb) · Debian 12

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

golang-github-jackc-pgconn

Debian packages (deb) · Debian 13

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

golang-github-jackc-pgconn

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 1.14.3-1 (ecosystem)

Fixed versions

1.14.3-1

Fix

  • Fixed version 1.14.3-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

golang-github-jackc-pgx

Debian packages (deb) · Debian 12

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

golang-github-jackc-pgx

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 4.18.1-2 (ecosystem)

Fixed versions

4.18.1-2

Fix

  • Fixed version 4.18.1-2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

golang-github-jackc-pgx

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 4.18.1-2 (ecosystem)

Fixed versions

4.18.1-2

Fix

  • Fixed version 4.18.1-2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences