GO-2023-1702

Infinite loop in parsing in go/scanner

En bref

Publiée
Mise à jour
CVE
CVE-2023-24537
Alias
BIT-golang-2023-24537

Description

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.

Paquets affectés

PaquetVersions
Go · stdlibintroduced 0, fixed 1.19.8, introduced 1.20.0-0, fixed 1.20.3

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database