Bug 1191468 - (CVE-2021-38297) VUL-0: CVE-2021-38297: go1.15,go1.16,go1.17: misc/wasm, cmd/link: do not let command line args overwrite global data
(CVE-2021-38297)
VUL-0: CVE-2021-38297: go1.15,go1.16,go1.17: misc/wasm, cmd/link: do not let ...
Status: IN_PROGRESS
Classification: Novell Products
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents
unspecified
Other Other
: P3 - Medium : Normal
: ---
Assigned To: Security Team bot
Security Team bot
https://smash.suse.de/issue/312102/
CVSSv3.1:SUSE:CVE-2021-38297:6.2:(AV:...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-10-08 01:27 UTC by Jeff Kowalczyk
Modified: 2022-04-13 07:25 UTC (History)
4 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---
abergmann: needinfo? (jkowalczyk)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Kowalczyk 2021-10-08 01:27:11 UTC
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.

If using wasm_exec.js to execute WASM modules, users will need to replace their copy (as described in https://golang.org/wiki/WebAssembly#getting-started) after rebuilding any modules.

This is issue go#48797 and CVE-2021-38297. Thanks to Ben Lubar for reporting this issue.

Refs:

https://github.com/golang/go/issues/48797
Comment 1 OBSbugzilla Bot 2021-10-08 04:40:15 UTC
This is an autogenerated message for OBS integration:
This bug (1191468) was mentioned in
https://build.opensuse.org/request/show/924125 Factory / go1.16
https://build.opensuse.org/request/show/924126 Factory / go1.17
Comment 4 Swamp Workflow Management 2021-10-20 19:22:26 UTC
SUSE-SU-2021:3487-1: An update that solves one vulnerability and has one errata is now available.

Category: security (moderate)
Bug References: 1182345,1191468
CVE References: CVE-2021-38297
JIRA References: 
Sources used:
SUSE Linux Enterprise Module for Development Tools 15-SP3 (src):    go1.16-1.16.9-1.29.1
SUSE Linux Enterprise Module for Development Tools 15-SP2 (src):    go1.16-1.16.9-1.29.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 5 Swamp Workflow Management 2021-10-20 19:38:53 UTC
openSUSE-SU-2021:3487-1: An update that solves one vulnerability and has one errata is now available.

Category: security (moderate)
Bug References: 1182345,1191468
CVE References: CVE-2021-38297
JIRA References: 
Sources used:
openSUSE Leap 15.3 (src):    go1.16-1.16.9-1.29.1
Comment 6 Swamp Workflow Management 2021-10-20 19:49:12 UTC
openSUSE-SU-2021:3488-1: An update that solves one vulnerability and has one errata is now available.

Category: security (moderate)
Bug References: 1190649,1191468
CVE References: CVE-2021-38297
JIRA References: 
Sources used:
openSUSE Leap 15.3 (src):    go1.17-1.17.2-1.6.2
Comment 7 Swamp Workflow Management 2021-10-20 19:50:44 UTC
SUSE-SU-2021:3488-1: An update that solves one vulnerability and has one errata is now available.

Category: security (moderate)
Bug References: 1190649,1191468
CVE References: CVE-2021-38297
JIRA References: 
Sources used:
SUSE Linux Enterprise Module for Development Tools 15-SP3 (src):    go1.17-1.17.2-1.6.2
SUSE Linux Enterprise Module for Development Tools 15-SP2 (src):    go1.17-1.17.2-1.6.2

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 8 Swamp Workflow Management 2021-10-31 20:58:34 UTC
openSUSE-SU-2021:1420-1: An update that solves one vulnerability and has one errata is now available.

Category: security (moderate)
Bug References: 1182345,1191468
CVE References: CVE-2021-38297
JIRA References: 
Sources used:
openSUSE Leap 15.2 (src):    go1.16-1.16.9-lp152.14.1