Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
NVD Vulnerability Details :
CVE-2024-27304
Analyzed
More InfoOfficial Page
Source-security-advisories@github.com
View Known Exploited Vulnerability (KEV) details
Published At-06 Mar, 2024 | 19:15
Updated At-04 Dec, 2025 | 17:33

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.

CISA Catalog
Date AddedDue DateVulnerability NameRequired Action
N/A
Date Added: N/A
Due Date: N/A
Vulnerability Name: N/A
Required Action: N/A
Metrics
TypeVersionBase scoreBase severityVector
Secondary3.19.8CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Type: Secondary
Version: 3.1
Base score: 9.8
Base severity: CRITICAL
Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CPE Matches

pgproto3_project
pgproto3_project
>>pgproto3>>Versions before 2.3.3(exclusive)
cpe:2.3:a:pgproto3_project:pgproto3:*:*:*:*:*:go:*:*
pgx_project
pgx_project
>>pgx>>Versions before 4.18.2(exclusive)
cpe:2.3:a:pgx_project:pgx:*:*:*:*:*:go:*:*
pgx_project
pgx_project
>>pgx>>Versions from 5.0.0(inclusive) to 5.5.4(exclusive)
cpe:2.3:a:pgx_project:pgx:*:*:*:*:*:go:*:*
Weaknesses
CWE IDTypeSource
CWE-89Secondarysecurity-advisories@github.com
CWE-190Secondarysecurity-advisories@github.com
CWE ID: CWE-89
Type: Secondary
Source: security-advisories@github.com
CWE ID: CWE-190
Type: Secondary
Source: security-advisories@github.com
Evaluator Description

Evaluator Impact

Evaluator Solution

Vendor Statements

References
HyperlinkSourceResource
https://github.com/jackc/pgproto3/commit/945c2126f6db8f3bea7eeebe307c01fe92bca007security-advisories@github.com
Patch
https://github.com/jackc/pgproto3/security/advisories/GHSA-7jwh-3vrq-q3m8security-advisories@github.com
Vendor Advisory
https://github.com/jackc/pgx/commit/adbb38f298c76e283ffc7c7a3f571036fea47fd4security-advisories@github.com
Patch
https://github.com/jackc/pgx/commit/c543134753a0c5d22881c12404025724cb05ffd8security-advisories@github.com
Patch
https://github.com/jackc/pgx/commit/f94eb0e2f96782042c96801b5ac448f44f0a81dfsecurity-advisories@github.com
Patch
https://github.com/jackc/pgx/security/advisories/GHSA-mrww-27vc-gghvsecurity-advisories@github.com
Vendor Advisory
https://www.youtube.com/watch?v=Tfg1B8u1yvEsecurity-advisories@github.com
Press/Media Coverage
https://github.com/jackc/pgproto3/commit/945c2126f6db8f3bea7eeebe307c01fe92bca007af854a3a-2127-422b-91ae-364da2661108
Patch
https://github.com/jackc/pgproto3/security/advisories/GHSA-7jwh-3vrq-q3m8af854a3a-2127-422b-91ae-364da2661108
Vendor Advisory
https://github.com/jackc/pgx/commit/adbb38f298c76e283ffc7c7a3f571036fea47fd4af854a3a-2127-422b-91ae-364da2661108
Patch
https://github.com/jackc/pgx/commit/c543134753a0c5d22881c12404025724cb05ffd8af854a3a-2127-422b-91ae-364da2661108
Patch
https://github.com/jackc/pgx/commit/f94eb0e2f96782042c96801b5ac448f44f0a81dfaf854a3a-2127-422b-91ae-364da2661108
Patch
https://github.com/jackc/pgx/security/advisories/GHSA-mrww-27vc-gghvaf854a3a-2127-422b-91ae-364da2661108
Vendor Advisory
Hyperlink: https://github.com/jackc/pgproto3/commit/945c2126f6db8f3bea7eeebe307c01fe92bca007
Source: security-advisories@github.com
Resource:
Patch
Hyperlink: https://github.com/jackc/pgproto3/security/advisories/GHSA-7jwh-3vrq-q3m8
Source: security-advisories@github.com
Resource:
Vendor Advisory
Hyperlink: https://github.com/jackc/pgx/commit/adbb38f298c76e283ffc7c7a3f571036fea47fd4
Source: security-advisories@github.com
Resource:
Patch
Hyperlink: https://github.com/jackc/pgx/commit/c543134753a0c5d22881c12404025724cb05ffd8
Source: security-advisories@github.com
Resource:
Patch
Hyperlink: https://github.com/jackc/pgx/commit/f94eb0e2f96782042c96801b5ac448f44f0a81df
Source: security-advisories@github.com
Resource:
Patch
Hyperlink: https://github.com/jackc/pgx/security/advisories/GHSA-mrww-27vc-gghv
Source: security-advisories@github.com
Resource:
Vendor Advisory
Hyperlink: https://www.youtube.com/watch?v=Tfg1B8u1yvE
Source: security-advisories@github.com
Resource:
Press/Media Coverage
Hyperlink: https://github.com/jackc/pgproto3/commit/945c2126f6db8f3bea7eeebe307c01fe92bca007
Source: af854a3a-2127-422b-91ae-364da2661108
Resource:
Patch
Hyperlink: https://github.com/jackc/pgproto3/security/advisories/GHSA-7jwh-3vrq-q3m8
Source: af854a3a-2127-422b-91ae-364da2661108
Resource:
Vendor Advisory
Hyperlink: https://github.com/jackc/pgx/commit/adbb38f298c76e283ffc7c7a3f571036fea47fd4
Source: af854a3a-2127-422b-91ae-364da2661108
Resource:
Patch
Hyperlink: https://github.com/jackc/pgx/commit/c543134753a0c5d22881c12404025724cb05ffd8
Source: af854a3a-2127-422b-91ae-364da2661108
Resource:
Patch
Hyperlink: https://github.com/jackc/pgx/commit/f94eb0e2f96782042c96801b5ac448f44f0a81df
Source: af854a3a-2127-422b-91ae-364da2661108
Resource:
Patch
Hyperlink: https://github.com/jackc/pgx/security/advisories/GHSA-mrww-27vc-gghv
Source: af854a3a-2127-422b-91ae-364da2661108
Resource:
Vendor Advisory
Change History
0Changes found

Details not found