# CVE-2021-20134: Quagga Services on D-Link DIR-2640 less than or equal to version 1.11B02 are affected by an absolute path traversal vulnerability that allo…

- Severity: High 8.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/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): 7.77%, higher than 94% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-12-30T21:31:00.000Z
- Modified: 2026-06-17T03:33:19.840Z
- Weaknesses: CWE-22
- Assigned by: tenable

## Description

Quagga Services on D-Link DIR-2640 less than or equal to version 1.11B02 are affected by an absolute path traversal vulnerability that allows a remote, authenticated attacker to set an arbitrary file on the router's filesystem as the log file used by either Quagga service (zebra or ripd). Subsequent log messages will be appended to the file, prefixed by a timestamp and some logging metadata. Remote code execution can be achieved by using this vulnerability to append to a shell script on the router's filesystem, and then awaiting or triggering the execution of that script. A remote, unauthenticated root shell can easily be obtained on the device in this fashion.

(As written by CVE List.)

## Affected

- Quagga Services on D-Link DIR-2640 Routers: <= 1.11B02
- dlink dir-2640-us_firmware: up to 1.11b02

## Every score

- NVD: CVSS:3.1 8.4 High `CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.4 High `AV:A/AC:M/Au:S/C:C/I:C/A:C`

## References

- <https://www.tenable.com/security/research/tra-2021-44> (exploit, third-party-advisory)

## Sources

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

---

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