CVE-2021-34861: d-link dap-2020 Stack-based Buffer Overflow
Vulnerability summary
CVE-2021-34861 is a high (CVSS 8.8) Stack-based Buffer Overflow vulnerability in d-link dap-2020. EPSS estimates a 0.82% chance of exploitation in the next 30 days, higher than 58.5% of scored vulnerabilities.
Not severe (CVSS 8.8, adjacent network); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 25-10-2021PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
Description
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DAP-2020 1.01rc001 routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the webproc endpoint, which listens on TCP port 80 by default. The issue results from the lack of proper validation of 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-12104.
CVSS metrics
4 scores · 2 sources · 3 versions- NVDNIST8.8HighCVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.82%
Chance of exploitation in the next 30 days
Percentile
59%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.82% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: adjacent network, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
D-link1 product
- dap-20201.01rc001
Dlink1 product
- dap-2020_firmware≤ 1.01
2 vendors · 2 products
References
2 links- supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10201X Refsource MISCPatchVendor Advisory