VYPR
Unrated severityNVD Advisory· Published Jan 26, 2023· Updated Nov 4, 2025

CVE-2022-40997

CVE-2022-40997

Description

Several stack-based buffer overflow vulnerabilities exist in the DetranCLI command parsing functionality of Siretta QUARTZ-GOLD G5.0.1.5-210720-141020. A specially-crafted network packet can lead to arbitrary command execution. An attacker can send a sequence of requests to trigger these vulnerabilities.This buffer overflow is in the function that manages the 'gre index <1-8> destination A.B.C.D/M description (WORD|null)' command template.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Stack-based buffer overflow in Siretta QUARTZ-GOLD router's DetranCLI allows authenticated remote attackers to execute arbitrary commands via crafted network packet.

Vulnerability

A stack-based buffer overflow exists in the DetranCLI command parsing of Siretta QUARTZ-GOLD firmware version G5.0.1.5-210720-141020. Specifically, the function handling the gre index <1-8> destination A.B.C.D/M description (WORD|null) command template uses sprintf without proper bounds checking, allowing an attacker to overflow a stack buffer [1]. This vulnerability is classified as CWE-120 (Buffer Copy without Checking Size of Input) [1].

Exploitation

An attacker must have high privileges (CVSSv3 PR:H) to access the DetranCLI interface, typically requiring administrative credentials. By sending a specially-crafted network packet containing an overly long parameter in the gre index command, the attacker can trigger a stack-based buffer overflow [1]. The attack is network-based (AV:N) and does not require user interaction (UI:N) [1].

Impact

Successful exploitation allows arbitrary command execution on the device with the privileges of the DetranCLI process, leading to full compromise of confidentiality, integrity, and availability (CVSSv3 base score 7.2) [1]. The attacker can execute arbitrary commands, potentially gaining persistent access to the router.

Mitigation

As of the publication date (2023-01-26), no fix has been disclosed in the available references [1]. The vendor, Siretta, has not released a patched firmware version. Users should restrict network access to the router's management interface and apply the principle of least privilege to reduce exposure.

AI Insight generated on May 25, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

2
  • Range: = G5.0.1.5-210720-141020
  • Siretta/QUARTZ-GOLDv5
    Range: G5.0.1.5-210720-141020

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

1

News mentions

0

No linked articles in our index yet.