Lucene search

K
veracodeVeracode Vulnerability DatabaseVERACODE:46841
HistoryMay 10, 2024 - 8:33 a.m.

SQL Injection

2024-05-1008:33:47
Veracode Vulnerability Database
sca.analysiscenter.veracode.com
18
npgsql
integer overflow
writebind()
sql injection
postgresql protocol.

8.1 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

8.3 High

AI Score

Confidence

High

0.0005 Low

EPSS

Percentile

17.2%

Npgsql is vulnerable to SQL injection. The vulnerability is caused by an integer overflow in the WriteBind() method within NpgsqlConnector.FrontendMessages.cs, which leads to miscalculated message lengths when constructing PostgreSQL protocol messages. This allows attackers to manipulate message boundaries and potentially inject arbitrary SQL statements.

8.1 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

8.3 High

AI Score

Confidence

High

0.0005 Low

EPSS

Percentile

17.2%