Path Traversal Vulnerability in D-Link DIR-2640 Router

Check todayFull system takeover with adjacent network access.
8.4HIGH

CVE-2021-20134

Key Information:

Vendor

D-Link

CVE ID
CVE ID:
CVE-2021-20134
Vendor
CVE Published:
30 December 2021

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • No: Needs adjacent network access
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Check today

Find out if you're affected. If you are, patch.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

2Why it's rated "Check today"
  • Its CVSS severity is high (8.4).

What is CVE-2021-20134?

The D-Link DIR-2640 router, specifically versions 1.11B02 and earlier, is susceptible to a path traversal vulnerability linked to Quagga Services. This vulnerability enables an authenticated remote attacker to manipulate log files on the device's filesystem. By setting an arbitrary file as the log for either the zebra or ripd services, attackers can inject malicious content, potentially leading to remote code execution. Once the malicious payload is appended, it may allow attackers to escalate privileges and obtain a root shell on the device, presenting a serious security risk.

Affected Version(s)

Quagga Services on D-Link DIR-2640 Routers <= 1.11B02

References

Out-of-Bounds Write Vulnerability in D-Link DIR-895L Router

CVE-2026-100740
D-linkDir-895l๐Ÿ‘พ9.4CRITICAL

Stack-Based Buffer Overflow in D-Link DIR-868L Authentication Component

CVE-2026-94089
D-linkDir-868l๐Ÿ‘พ10CRITICAL

Stack-based Buffer Overflow in D-Link DI-8400 Router

CVE-2025-9938
D-linkDi-8400๐Ÿ‘พ8.7HIGH
View more D-Link vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities ยท Report a correction

EPSS Score

7% chance of being exploited in the next 30 days.

CVSS V3.1

Score:
8.4
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Adjacent Network
Attack Complexity:
Low
Privileges Required:
High
User Interaction:
None
Scope:
Changed
.