Skip to content
Noroxi
NVD / CVE Program· CNA mitre

CVE-2021-38297: 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…

CriticalCVSS 9.8 · v3.1—Proof of concept Fix available

Noroxi assessment

Priority: Plan (action score 42/100)

  • Public proof-of-concept code exists (GitHub); there is no record of exploitation in the wild.
  • Probability of exploitation in the next 30 days: 10.9% (FIRST EPSS); higher than 95.9% of all records.
  • Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
  • Fixed version: delve (AlmaLinux:8) 1.7.2-1.module_el8.6.0+2736+ec10aba8; go-toolset (AlmaLinux:8) 1.17.7-1.module_el8.6.0+2736+ec10aba8; golang (AlmaLinux:8) 1.17.7-1.module_el8.6.0+2736+ec10aba8.
  • Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).

Add it to your regular patch cycle. Upgrade to delve (AlmaLinux:8) 1.7.2-1.module_el8.6.0+2736+ec10aba8; go-toolset (AlmaLinux:8) 1.17.7-1.module_el8.6.0+2736+ec10aba8; golang (AlmaLinux:8) 1.17.7-1.module_el8.6.0+2736+ec10aba8 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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.

Published
Oct 18, 2021
Updated
Jun 17, 2026
EPSS
10.9% · 95th percentile

Report tools

JSON

Action score

42

Plan

Add it to your regular patch cycle.

CVSS
39 / 40 · 9.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
3 / 30 · 10.9%

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • Proof of concept exists, no weaponized module
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2021-38297

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools
Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
golanggo
fedoraprojectfedora

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • fedoraproject fedora34
  • fedoraproject fedora35
  • golang gobefore 1.16.9
  • golang go1.17.0 and later · before 1.17.2

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:8delvebefore 1.7.2-1.module_el8.6.0+2736+ec10aba81.7.2-1.module_el8.6.0+2736+ec10aba8
AlmaLinux:8go-toolsetbefore 1.17.7-1.module_el8.6.0+2736+ec10aba81.17.7-1.module_el8.6.0+2736+ec10aba8
AlmaLinux:8golangbefore 1.17.7-1.module_el8.6.0+2736+ec10aba81.17.7-1.module_el8.6.0+2736+ec10aba8
AlmaLinux:8golang-binbefore 1.17.7-1.module_el8.6.0+2736+ec10aba81.17.7-1.module_el8.6.0+2736+ec10aba8
AlmaLinux:8golang-docsbefore 1.17.7-1.module_el8.6.0+2736+ec10aba81.17.7-1.module_el8.6.0+2736+ec10aba8
AlmaLinux:8golang-miscbefore 1.17.7-1.module_el8.6.0+2736+ec10aba81.17.7-1.module_el8.6.0+2736+ec10aba8
AlmaLinux:8golang-racebefore 1.17.7-1.module_el8.6.0+2736+ec10aba81.17.7-1.module_el8.6.0+2736+ec10aba8
AlmaLinux:8golang-srcbefore 1.17.7-1.module_el8.6.0+2736+ec10aba81.17.7-1.module_el8.6.0+2736+ec10aba8
AlmaLinux:8golang-testsbefore 1.17.7-1.module_el8.6.0+2736+ec10aba81.17.7-1.module_el8.6.0+2736+ec10aba8
Alpine:v3.15gofrom 1.17.0 · before 1.17.2-r01.17.2-r0
Debian:10golang-1.11before 1.11.6-1+deb10u61.11.6-1+deb10u6
Debian:11golang-1.15before 1.15.15-1~deb11u21.15.15-1~deb11u2
Gotoolchainfrom 1.17.0-0 · before 1.17.21.17.2
Gotoolchainbefore 1.16.91.16.9
openSUSE:Leap 15.2go1.16before 1.16.9-lp152.14.11.16.9-lp152.14.1
openSUSE:Leap 15.3go1.16before 1.16.9-1.29.11.16.9-1.29.1
openSUSE:Leap 15.3go1.17before 1.17.2-1.6.21.17.2-1.6.2
openSUSE:Leap 15.4google-guest-agentbefore 20230221.00-150000.1.34.120230221.00-150000.1.34.1
openSUSE:Leap 15.4google-osconfig-agentbefore 20230222.00-150000.1.27.120230222.00-150000.1.27.1
openSUSE:Tumbleweedgo1.16before 1.16.9-1.11.16.9-1.1
openSUSE:Tumbleweedgo1.17before 1.17.2-1.11.17.2-1.1
openSUSE:Tumbleweedgoogle-guest-agentbefore 20230221.00-2.120230221.00-2.1
openSUSE:Tumbleweedgoogle-osconfig-agentbefore 20230222.00-2.120230222.00-2.1
Red Hat:enterprise_linux:8::appstreamdelvebefore 0:1.7.2-1.module+el8.6.0+12972+ebab59110:1.7.2-1.module+el8.6.0+12972+ebab5911

+20

Other highest-scoring records for the same primary product.

  • CVE-2018-7187The "go get" implementation in Go 1.9.4, when the -insecure command-line option is used, does not validate the import path (get/vcs.go only…
    54Plan
  • CVE-2018-16873In Go before 1.10.6 and 1.11.x before 1.11.3, the "go get" command is vulnerable to remote code execution when executed with the -u flag…
    52Plan
  • CVE-2019-14809net/url in Go before 1.11.13 and 1.12.x before 1.12.8 mishandles malformed hosts in URLs, leading to an authorization bypass in some…
    42Plan

Published before and after this one in the same product

  • ← EarlierCVE-2021-29923Aug 7, 2021 · Go before 1.17 does not properly consider extraneous zero characters at the beginning of an IP address octet, which (in some situations)…
    31Monitor
  • ← EarlierCVE-2021-36221Aug 8, 2021 · Go before 1.15.15 and 1.16.x before 1.16.7 has a race condition that can lead to a net/http/httputil ReverseProxy panic upon an…
    24Monitor
  • Later →CVE-2021-41771Nov 8, 2021 · ImportedSymbols in debug/macho (for Open or OpenFat) in Go before 1.16.10 and 1.17.x before 1.17.3 Accesses a Memory Location After the End…
    31Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
almalinux:delve1.7.2-1.module_el8.6.0+2736+ec10aba8 · AlmaLinux:8Package registry (OSV)
almalinux:go-toolset1.17.7-1.module_el8.6.0+2736+ec10aba8 · AlmaLinux:8Package registry (OSV)
almalinux:golang1.17.7-1.module_el8.6.0+2736+ec10aba8 · AlmaLinux:8Package registry (OSV)
almalinux:golang-bin1.17.7-1.module_el8.6.0+2736+ec10aba8 · AlmaLinux:8Package registry (OSV)
almalinux:golang-docs1.17.7-1.module_el8.6.0+2736+ec10aba8 · AlmaLinux:8Package registry (OSV)
almalinux:golang-misc1.17.7-1.module_el8.6.0+2736+ec10aba8 · AlmaLinux:8Package registry (OSV)
almalinux:golang-race1.17.7-1.module_el8.6.0+2736+ec10aba8 · AlmaLinux:8Package registry (OSV)
almalinux:golang-src1.17.7-1.module_el8.6.0+2736+ec10aba8 · AlmaLinux:8Package registry (OSV)
almalinux:golang-tests1.17.7-1.module_el8.6.0+2736+ec10aba8 · AlmaLinux:8Package registry (OSV)
alpine:go1.17.2-r0 · Alpine:v3.15Package registry (OSV)
debian:golang-1.111.11.6-1+deb10u6 · Debian:10Package registry (OSV)
debian:golang-1.151.15.15-1~deb11u2 · Debian:11Package registry (OSV)
Go:toolchain1.16.9Package registry (OSV)
Go:toolchain1.17.2Package registry (OSV)
opensuse:go1.161.16.9-lp152.14.1 · openSUSE:Leap 15.2Package registry (OSV)
opensuse:go1.171.17.2-1.6.2 · openSUSE:Leap 15.3Package registry (OSV)
opensuse:google-guest-agent20230221.00-150000.1.34.1 · openSUSE:Leap 15.4Package registry (OSV)
opensuse:google-osconfig-agent20230222.00-150000.1.27.1 · openSUSE:Leap 15.4Package registry (OSV)
red hat:delve0:1.7.2-1.module+el8.6.0+12972+ebab5911 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:delve-debuginfo0:1.7.2-1.module+el8.6.0+12972+ebab5911 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:delve-debugsource0:1.7.2-1.module+el8.6.0+12972+ebab5911 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:go-toolset0:1.17.7-1.module+el8.6.0+14297+32a15e19 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:golang0:1.17.7-1.module+el8.6.0+14297+32a15e19 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:golang-bin0:1.17.7-1.module+el8.6.0+14297+32a15e19 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:golang-docs0:1.17.7-1.module+el8.6.0+14297+32a15e19 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:golang-misc0:1.17.7-1.module+el8.6.0+14297+32a15e19 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:golang-race0:1.17.7-1.module+el8.6.0+14297+32a15e19 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:golang-src0:1.17.7-1.module+el8.6.0+14297+32a15e19 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:golang-tests0:1.17.7-1.module+el8.6.0+14297+32a15e19 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:openshift-serverless-clients0:0.26.0-2.el8 · Red Hat:serverless:1.0::el8Package registry (OSV)

+8

Exploit status

Proof of concept available

A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.

Evidence

  • Proof-of-concept repository on GitHub ×2

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Proof-of-concept repository on GitHubstars:82023-11-15
Proof-of-concept repository on GitHubstars:02024-04-04

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. Published
  2. First PoC+758 d
  3. TodayNov 16, 2026+1855 d

National notice (Türkiye Cybersecurity Directorate / USOM)

Official security notices citing this record; remediation advice is on the agency's page.

All national notices →

Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

nvd-primary

Root cause

When data is copied, the source length is not compared with the size of the destination buffer. Excess data overwrites adjacent memory.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

c
char buf[256];memcpy(buf, pkt->data, pkt->len);

Fixed

c
char buf[256];if (pkt->len > sizeof(buf)) {  return -EINVAL;}memcpy(buf, pkt->data, pkt->len);

References

All records