CVE-2024-27304

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-27304
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-27304.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-27304
Aliases
Related
Published
2024-03-06T19:15:08Z
Modified
2024-10-22T05:29:01.941333Z
Summary
[none]
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.

References

Affected packages

Debian:11 / golang-github-jackc-pgx

Package

Name
golang-github-jackc-pgx
Purl
pkg:deb/debian/golang-github-jackc-pgx?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.6.2-2

4.*

4.15.0-1
4.15.0-2
4.15.0-3
4.15.0-4
4.18.1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / golang-github-jackc-pgx

Package

Name
golang-github-jackc-pgx
Purl
pkg:deb/debian/golang-github-jackc-pgx?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*

4.15.0-4
4.18.1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / golang-github-jackc-pgx

Package

Name
golang-github-jackc-pgx
Purl
pkg:deb/debian/golang-github-jackc-pgx?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*

4.15.0-4
4.18.1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/jackc/pgproto3

Affected ranges

Type
GIT
Repo
https://github.com/jackc/pgproto3
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Type
GIT
Repo
https://github.com/jackc/pgx
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Fixed

Affected versions

v1.*

v1.0.0
v1.1.0

v2.*

v2.0.0
v2.0.0-alpha1
v2.0.0-rc1
v2.0.0-rc2
v2.0.0-rc3
v2.0.1
v2.0.2
v2.0.3
v2.0.4
v2.0.5
v2.0.6
v2.0.7
v2.1.0
v2.1.1
v2.10.0
v2.11.0
v2.2.0
v2.3.0
v2.3.1
v2.3.2
v2.4.0
v2.5.0
v2.6.0
v2.7.0
v2.7.1
v2.8.0
v2.8.1
v2.9.0

v3.*

v3.0.0
v3.0.1
v3.1.0
v3.2.0
v3.3.0
v3.4.0
v3.5.0
v3.6.0

v4.*

v4.0.0
v4.0.0-pre1
v4.0.0-pre2
v4.0.0-rc1
v4.0.0-rc2
v4.0.1
v4.1.0
v4.1.1
v4.1.2
v4.10.0
v4.10.1
v4.11.0
v4.12.0
v4.13.0
v4.14.0
v4.14.1
v4.15.0
v4.16.0
v4.16.1
v4.17.0
v4.17.1
v4.17.2
v4.18.0
v4.18.1
v4.2.0
v4.2.1
v4.3.0
v4.4.0
v4.4.1
v4.5.0
v4.6.0
v4.7.0
v4.7.1
v4.7.2
v4.8.0
v4.8.1
v4.9.0
v4.9.1
v4.9.2

v5.*

v5.0.0
v5.0.0-alpha.1
v5.0.0-alpha.2
v5.0.0-alpha.3
v5.0.0-alpha.4
v5.0.0-alpha.5
v5.0.0-beta.1
v5.0.0-beta.2
v5.0.0-beta.3
v5.0.0-beta.4
v5.0.0-beta.5
v5.0.1
v5.0.2
v5.0.3
v5.0.4
v5.1.0
v5.1.1
v5.2.0
v5.3.0
v5.3.1
v5.4.0
v5.4.1
v5.4.2
v5.4.3
v5.5.0
v5.5.1
v5.5.2
v5.5.3