CVE-2023-24537
JSON

7.5high

Infinite loop in parsing in go/scanner

Severity
7.5high CVSS:3.1 by CISA-ADP
Exploit likelihood
1.40% (higher than 73% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Go
Also known as
GO-2023-1702BIT-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.

Affected

Product or packageVersionsReported by
go/scannerbefore 1.19.8, from 1.20.0-0 before 1.20.3CVE List
stdlib (Go)before 1.19.8, from 1.20.0-0 before 1.20.3Go Vulnerability Database
golang gobefore 1.19.8, from 1.20.0 before 1.20.3NVD
golang (Bitnami)before 1.19.8, from 1.20.0 before 1.20.3Bitnami Vulnerability Database

All scores

CISA-ADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Bitnami Vulnerability Databasehigh rating

Classification

CWE-190CWE-835

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Related

Sources

SourceRecordLicence
CVE ListCVE-2023-24537 changed 2025-02-13CVE Terms of Use
Go Vulnerability DatabaseGO-2023-1702 changed 2026-02-04CC-BY-4.0
NVDCVE-2023-24537 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-GOLANG-2023-24537 changed 2026-09-08Apache-2.0