VDB

CVE-2021-38297

CVE-2021-38297 PUBLISHED

Reported by mitre · Published October 18, 2021

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
goAlpine1.17.2-r0
goArch Linux2:1.17.2-1
golang-docsAmazon Linux1.19.3-2.amzn2023.0.2
golangBitnami1.17.2, 1.16.9

Affected products

VendorProductVersions
n/an/an/a
alpinego0
archgo0
amazon:2023golang-docs0
n/an/a*
amazon:2023golang-misc0
amazon:2golang0
amazon:2023golang-race0
amazon:2023golang-tests0
amazon:2golang-race0
amazon:2golang-docs0
amazon:2023golang0
amazon:2023golang-bin0
amazon:2golang-src0
amazon:2golang-tests0
amazon:2golang-shared0
amazon:2023golang-src0
amazon:2golang-misc0
amazon:2golang-bin0
amazon:2023golang-shared0

Timeline

  • Oct 18, 2021 CVE Published
  • Oct 18, 2021 EPSS Score (30 in total, the first dated here)
  • Aug 4, 2024 CVE Updated
  • Mar 10, 2026 Security Advisory (6 in total, the first dated here)
  • Jul 25, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-38297
vulnetix vdb fixes CVE-2021-38297

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-38297/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›