CVE-2021-38297
Aliases:GO-2022-0247BIT-golang-2021-38297
Advisory lineage Upstream: 0 Downstream: 19
Modified
Published: 18 Oct 2021, 00:00
Last modified:04 Aug 2024, 01:37
Vulnerability Summary
Overall Risk (default)
high
70/100 CVSS Score
9.8 CRITICAL
v3.1 (nvd)
EPSS Score
10.63% MEDIUM
11% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected
Timeline
18 Oct 2021, 00:00
Published
Vulnerability first disclosed
04 Aug 2024, 01:37
Last Modified
Vulnerability information updated
Description
Go before 1.16.9 and 1.17.x before 1.17.2 has a Buffer Overflow via large arguments in a function invocation from a WASM module, when GOARCH=wasm GOOS=js is used.
CVSS Metrics
- v3.1•CRITICAL•Score: 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- v2.0•HIGH•Score: 7.5AV:N/AC:L/Au:N/C:P/I:P/A:P
EPSS Trends
Current EPSS score: 10.63%• Percentile: 93%
Techniques & Countermeasures
- CWE-120•Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.
Affected Systems
- fedoraproject•fedora
34 | 35
- golang•go
< 1.16.9 | ≥ 1.17.0, < 1.17.2
- Go•toolchain
≥ 1.17.0-0, < 1.17.2
References (10)
- https://groups.google.com/forum/#%21forum/golang-announce
- https://groups.google.com/g/golang-announce/c/AEBu9j7yj5A
- https://security.netapp.com/advisory/ntap-20211118-0006/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4OFS3M3OFB24SWPTIAPARKGPUMQVUY6Z/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ON7BQRRJZBOR5TJHURBAB3WLF4YXFC6Z/
- https://security.gentoo.org/glsa/202208-02
- https://lists.debian.org/debian-lts-announce/2023/04/msg00021.html
- https://go.dev/cl/354571
- https://go.googlesource.com/go/+/77f2750f4398990eed972186706f160631d7dae4
- https://go.dev/issue/48797