CVE-2021-38297

Public on 2021-10-18
Modified on 2023-01-18
Description
A validation flaw was found in golang. When invoking functions from WASM modules built using GOARCH=wasm GOOS=js, passing very large arguments can cause portions of the module to be overwritten with data from the arguments. The highest threat from this vulnerability is to integrity.
Severity
Medium severity
Medium
CVSS v3 Base Score
9.8
See breakdown

Affected Packages

Platform Package Release Date Advisory Status
Amazon Linux 1 golang 2022-04-25 ALAS-2022-1583 Fixed
Amazon Linux 2 - Core golang 2022-04-25 ALAS2-2022-1776 Fixed
Amazon Linux 2 - Core golang 2022-07-06 ALAS2-2022-1811 Fixed
Amazon Linux 2 - Core golang 2022-07-28 ALAS2-2022-1830 Fixed
Amazon Linux 2023 golang 2023-02-17 ALAS2023-2023-048 Fixed

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD CVSSv2 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P
NVD CVSSv3 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H