CVE-2023-35703
NixOS vulnerability analysis and mitigation

Overview

Multiple stack-based buffer overflow vulnerabilities exist in the FST LEB128 varint functionality of GTKWave 3.3.115. The vulnerability, identified as CVE-2023-35703, specifically concerns the fstReaderVarint64 function. A specially crafted .fst file can lead to arbitrary code execution when opened by a victim (Talos).

Technical details

The vulnerability exists in the fstReaderVarint64 function where a 16-byte buffer is allocated on the stack, and a do-while loop reads each byte from the input file and stores it in the buffer. The loop's stop condition is controlled by the MSB of the byte read from the file, making it possible for an attacker to write beyond the buffer bounds. The vulnerability has a CVSS v3.1 Base Score of 7.8 (HIGH) with the vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (Talos, NVD).

Impact

If successfully exploited, this vulnerability can lead to arbitrary code execution on the target system. The attack requires user interaction, specifically opening a malicious .fst file (Talos).

Mitigation and workarounds

The vulnerability has been fixed in GTKWave version 3.3.118. Users are recommended to upgrade to this version or later (Debian LTS).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management