7.5Alta

CVE-2023-24537Infinite loop in parsing in go/scanner

Go standard library go/scanner Publicada: (hace 3 años)

Descripción

Calling any of the Parse functions on Go source code which contains //line directives with very large line numbers can cause an infinite loop due to integer overflow.

Debilidad (CWE): CWE-835CWE-190

Datos: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Se publican tal como los indican las fuentes, en inglés.

Productos y versiones afectados

FabricanteProductoVersiones
Go standard library go/scanner < 1.19.8, 1.20.0-0 – < 1.20.3

Referencias y parches