cve.bz

CVE-2021-34991 netgear: Out-of-bounds Write

8.8 highEPSS 5.7%

High (8.8) in netgear. EPSS 5.7% estimated probability of exploitation activity in the next 30 days.

On this page
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of NETGEAR R6400v2 1.0.4.106_10.0.80 routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the UPnP service, which listens on TCP port 5000 by default. When parsing the uuid request header, the process does not properly validate the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-14110.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
5.7% (unchanged from 5.7% a week ago; 5.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 93rd percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-787 Out-of-bounds Write
CWE-121 Stack-based Buffer Overflow
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-34991 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-34991?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-34991?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-34991 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
netgear:ex3700_firmwarebefore 1.0.0.94
netgear:ex3800_firmwarebefore 1.0.0.94
netgear:ex6120_firmwarebefore 1.0.0.66
netgear:ex6130_firmwarebefore 1.0.0.66
netgear:r6400_firmwarebefore 1.0.1.76
netgear:r6400v2_firmwarebefore 1.0.4.120
netgear:r6700v3_firmwarebefore 1.0.4.120
netgear:r6900p_firmwarebefore 1.3.3.142
netgear:r7000_firmwarebefore 1.0.11.128
netgear:r7000p_firmwarebefore 1.3.3.142
netgear:r7100lg_firmwarebefore 1.0.0.72
netgear:r7850_firmwarebefore 1.0.5.76
netgear:r7900p_firmwarebefore 1.4.2.84
netgear:r7960p_firmwarebefore 1.4.2.84
netgear:r8000_firmwarebefore 1.0.4.76
netgear:r8000p_firmwarebefore 1.4.2.84
netgear:r8300_firmwarebefore 1.0.2.156
netgear:r8500_firmwarebefore 1.0.2.156
netgear:rax15_firmwarebefore 1.0.4.100
netgear:rax20_firmwarebefore 1.0.4.100
netgear:rax200_firmwarebefore 1.0.5.132
netgear:rax35v2_firmwarebefore 1.0.4.100
netgear:rax38v2_firmwarebefore 1.0.4.100
netgear:rax40v2_firmwarebefore 1.0.4.100
netgear:rax42_firmwarebefore 1.0.4.100
netgear:rax43_firmwarebefore 1.0.4.100
netgear:rax45_firmwarebefore 1.0.4.100
netgear:rax48_firmwarebefore 1.0.4.100
netgear:rax50_firmwarebefore 1.0.4.100
netgear:rax50s_firmwarebefore 1.0.4.100
netgear:rax75_firmwarebefore 1.0.5.132
netgear:rax80_firmwarebefore 1.0.5.132
netgear:raxe450_firmwarebefore 1.0.8.70
netgear:raxe500_firmwarebefore 1.0.8.70
netgear:rs400_firmwarebefore 1.5.1.80
netgear:wndr3400v3_firmwarebefore 1.0.1.42
netgear:wnr3500lv2_firmwarebefore 1.2.0.70
netgear:xr300_firmwarebefore 1.0.3.68
netgear:d6220_firmwarebefore 1.0.0.76
netgear:d6400_firmwarebefore 1.0.0.108
netgear:d7000v2_firmwarebefore 1.0.0.76
netgear:dgn2200v4_firmwarebefore 1.0.0.126
netgear:dc112a_firmwarebefore 1.0.0.62
netgear:cax80_firmwarebefore 2.1.3.5

Detection rules

Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.

  • Emerging Threats Open ET EXPLOIT UPnP UUID Password Change Exploit Attempt Inbound - XR300 PoC Gadgets (CVE-2021-34991) sid 2034493
  • Emerging Threats Open ET EXPLOIT UPnP UUID Password Change Exploit Attempt Inbound - R6700V3 PoC Gadgets (CVE-2021-34991) sid 2034494

References

Check your stackJSON