Lucene search

K
cve[email protected]CVE-2024-27304
HistoryMar 06, 2024 - 7:15 p.m.

CVE-2024-27304

2024-03-0619:15:08
CWE-190
CWE-89
web.nvd.nist.gov
91
pgx
postgresql
go
sql injection
cve-2024-27304
security vulnerability
nvd

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

9.6 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

10.3%

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.

Affected configurations

Vulners
Node
jackcpgxRange<4.18.2
OR
jackcpgxRange5.0.05.5.4

CNA Affected

[
  {
    "vendor": "jackc",
    "product": "pgx",
    "versions": [
      {
        "version": "< 4.18.2",
        "status": "affected"
      },
      {
        "version": ">= 5.0.0, < 5.5.4",
        "status": "affected"
      }
    ]
  }
]

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

9.6 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

10.3%