# CVE-2021-34862: This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DAP-2020 1.01rc001 route…

- Severity: High 8.8 (CVSS:3.0, scored by zdi) `CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.82%, higher than 58% of CVEs (2026-12-01)
- Published: 2021-10-25T17:10:49.000Z
- Modified: 2026-06-17T03:56:42.030Z
- Weaknesses: CWE-121
- Assigned by: zdi

## 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 handling of the var:menu parameter provided to the webproc endpoint. 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-13270.

(As written by CVE List.)

## Affected

- D-Link DAP-2020: 1.01rc001
- dlink dap-2020_firmware: up to 1.01

## Every score

- zdi: CVSS:3.0 8.8 High `CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: 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`
- NVD: CVSS:2.0 5.8 Medium `AV:A/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10201> (patch, vendor-advisory)
- <https://www.zerodayinitiative.com/advisories/ZDI-21-978/> (third-party-advisory, vdb-entry)

## Sources

- CVE List: [CVE-2021-34862](https://www.cve.org/CVERecord?id=CVE-2021-34862), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-34862](https://nvd.nist.gov/vuln/detail/CVE-2021-34862), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-34862 · Whole record: https://cve.day/CVE-2021-34862.json · Rebuilt by cve.day 2026-11-25T22:58:05.186Z
