PT-2023-18513

CVE-2023-22460

·

Publicado

2023-01-04

·

Atualizado

2026-08-27

Descrição por

CVSS 3.1
7.5
Alta
MétricasAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions go-ipld-prime versions prior to 0.19.0
Description The issue arises when encoding data that contains a Bytes kind Node using the json codec, causing the encoder to panic as it does not expect to receive Bytes tokens. This should be treated as an error since plain JSON cannot encode bytes. The dag-json codec is not impacted, and neither is the use of json as a decoder. If the json codec is used to encode user-supplied data, it may be used as a vector for a denial of service attack.
Recommendations For versions prior to 0.19.0, update to version 0.19.0 to resolve the issue. As a temporary workaround, consider using the dag-json codec, which has the ability to encode bytes, instead of the json codec for encoding data that contains Bytes kind Nodes.
Explorabilidade
Exploit
Correção
Impactos
Pesquisadores
Fornecedores
Produtos afetados
Enumeração de fraquezas
Identificadores relacionados
GHSA-C653-6HHG-9X92
GO-2023-1269
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾