cveboard Feed RSS

CVE-2024-32655

CVE.org · Publicado

Histórico de CVEsJSONInstruções para IA

Status do registro
Publicado
Ano do identificador (não é o ano de publicação)
2024
Publicação na fonte
Atualização na fonte
Importado pelo cveboard
Snapshot da fonte
cve_2026-10-24_midnight_baseline ·

Texto simples

Texto da CNA em inglês

Npgsql Vulnerable to SQL Injection via Protocol Message Size Overflow

Npgsql is the .NET data provider for PostgreSQL. The `WriteBind()` method in `src/Npgsql/Internal/NpgsqlConnector.FrontendMessages.cs` uses `int` variables to store the message length and the sum of parameter lengths. Both variables overflow when the sum of parameter lengths becomes too large. This causes Npgsql to write a message size that is too small when constructing a Postgres protocol message to send it over the network to the database. When parsing the message, the database will only read a small number of bytes and treat any following bytes as new messages while they belong to the old message. Attackers can abuse this to inject arbitrary Postgres protocol messages into the connection, leading to the execution of arbitrary SQL statements on the application's behalf. This vulnerability is fixed in 4.0.14, 4.1.13, 5.0.18, 6.0.11, 7.0.7, and 8.0.3.

Fatos de produtos e versões por escopo

Dados de correção desconhecidos; nenhuma versão corrigida é deduzida aqui. Dados ausentes não comprovam ausência de correção.

Exploração desconhecida; este catálogo não avalia exploração.

npgsql

Fornecedor
npgsql
Produto
npgsql
Plataformas
Desconhecido
Status padrão
Desconhecido
npgsql · Fatos de produtos e versões por escopo
Versão (version)Status (status)Esquema de versões (versionType)Fim exclusivo (lessThan)Fim inclusivo (lessThanOrEqual)Mudanças de status (at → status)
>= 4.0.0, < 4.0.14affectedIndisponívelIndisponívelIndisponívelNenhuma listada
>= 4.1.0, < 4.1.13affectedIndisponívelIndisponívelIndisponívelNenhuma listada
>= 5.0.0, < 5.0.18affectedIndisponívelIndisponívelIndisponívelNenhuma listada
>= 6.0.0, < 6.0.11affectedIndisponívelIndisponívelIndisponívelNenhuma listada
>= 7.0.0, < 7.0.7affectedIndisponívelIndisponívelIndisponívelNenhuma listada
>= 8.0.0, < 8.0.3affectedIndisponívelIndisponívelIndisponívelNenhuma listada