Cyber Resilience

CVE-2022-20707

Memory Safety in Cisco Rv340 Firmware ≤ 1.0.03.24

Public PoCHigh EPSSMemory Safety
Published
10 February 2022
Modified
21 November 2024
Patch / advisory
CVSS Score v3.1 10.0
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
EPSS Score 0.75 99.5th percentile
Risk Priority 100 floored blend · peak EPSS

Summary

CVE-2022-20707 is a critical-severity Stack-based Buffer Overflow (CWE-121) vulnerability in Cisco Rv340 Firmware. Its CVSS base score is 10.0 (Critical).

Operationally, ranked in the top 0.5% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to SC-7 (Boundary Protection) and SI-10 (Information Input Validation) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2022-20707 covers multiple vulnerabilities in Cisco Small Business RV160, RV260, RV340, and RV345 Series Routers. The issues are tracked under CWEs 121 and 787 and received a CVSS 3.1 score of 10.0, reflecting the potential for arbitrary code execution, privilege elevation, command execution, authentication bypass, execution of unsigned software, and denial of service.

An unauthenticated attacker with network access can trigger the flaws without user interaction or credentials, enabling full compromise of affected routers or service disruption. Public references include exploit code for authentication bypass and command injection as well as separate Zero Day Initiative reports confirming the same attack surface.

The primary Cisco Security Advisory supplies remediation guidance and is linked alongside the related ZDI entries. The associated EPSS score reached 0.8140 at peak and remains at that level, indicating sustained exploitation interest after disclosure.

EU & UK References

Vulnerability Data

Multiple vulnerabilities in Cisco Small Business RV160, RV260, RV340, and RV345 Series Routers could allow an attacker to do any of the following: Execute arbitrary code Elevate privileges Execute arbitrary commands Bypass authentication and authorization protections Fetch and run unsigned…

more

software Cause denial of service (DoS) For more information about these vulnerabilities, see the Details section of this advisory.

CWE(s)

Related Threats

Likely ATT&CK TechniquesAI

Techniques this vulnerability likely enables, inferred from its description, weakness type, and attributed-actor tradecraft. Confidence is per-technique.

T1190 Exploit Public-Facing Application Initial Accessconfidence: HIGH
Unauthenticated network-based exploitation of the router's public-facing services directly enables remote code execution and full device compromise.
T1068 Exploitation for Privilege Escalation Privilege Escalationconfidence: HIGH
The CVSS 10.0 score and reported privilege elevation indicate the flaws can be leveraged to escalate privileges on the device.
T1059 Command and Scripting Interpreter Executionconfidence: MEDIUM
Command injection and execution of arbitrary commands on the router are explicitly mentioned in public exploit references.
T1499 Endpoint Denial of Service Impactconfidence: MEDIUM
Denial-of-service impact is listed among the possible outcomes of successful exploitation.
inferred from description + CWE · MITRE ATT&CK Enterprise v19.0

CVEs Like This One

CVE-2022-20701Same product: Cisco Rv340
CVE-2022-20699Same product: Cisco Rv340
CVE-2022-20708Same product: Cisco Rv340
CVE-2022-20700Same product: Cisco Rv340
CVE-2022-20705Same product: Cisco Rv340
CVE-2022-20703Same product: Cisco Rv340
CVE-2023-20078Same vendor: Cisco
CVE-2024-20433Same vendor: Cisco
CVE-2024-20519Same vendor: Cisco
CVE-2024-20518Same vendor: Cisco

Affected Assets

cisco
rv340 firmware
≤ 1.0.03.24
cisco
rv340w firmware
≤ 1.0.03.24
cisco
rv345 firmware
≤ 1.0.03.24
cisco
rv345p firmware
≤ 1.0.03.24

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)
  • SI-10 Information Input Validation
  • SC-7 Boundary Protection
  • SI-2 Flaw Remediation
Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)
  • 2 hardening rules · 2 OS baselines
Validate
Prove the fix (OWASP ASVS)

Mitigating Controls (NIST 800-53 r5) AI

prevent

Directly mitigates the stack-based buffer overflows and out-of-bounds writes (CWE-121/787) that enable unauthenticated code execution and command injection on the routers.

prevent

Enforces boundary protections on network-accessible routers to restrict the unauthenticated remote attack surface that leads to full device compromise or DoS.

prevent

Requires timely application of vendor patches that remediate the multiple high-severity flaws allowing arbitrary code execution and authentication bypass.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure-development practices directly prevent introduction of stack buffer overflows.

ID.RA-01 partial match
prevents

Vulnerability scanning can discover stack buffer overflows but does not prevent their introduction.

PR.PS-02 partial match
prevents

Patching eliminates known instances of the weakness after discovery.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

detects

Security testing (fuzzing, static analysis) detects stack overflows before release.

prevents

Secure SDLC mandates buffer-safety practices that directly prevent stack overflows.

prevents

Application security requirements can specify buffer-size and input-validation rules.

prevents

Secure architecture principles include memory-safety and least-privilege stack usage.

prevents

Secure coding standards explicitly forbid unsafe buffer handling that causes CWE-121.

prevents

Change management can enforce review gates that catch unsafe memory operations before deployment.

References