CVE-2024-23749
NixOS vulnerability analysis and mitigation

Overview

KiTTY versions 0.76.1.13 and before are vulnerable to command injection via the filename variable in the GetOneFile function. The vulnerability was introduced in the original release in May 2021 and affects all versions up to KiTTY ≤ 0.76.1.13 in their default configuration. The issue occurs due to insufficient input sanitization and validation, failure to escape special characters, and insecure system calls (DEFCESCO Blog, SecurityOnline).

Technical details

The vulnerability resides within the kitty.c file, specifically in the GetOneFile function at lines 2369-2390. When KiTTY encounters the ANSI escape sequence \033]0;__rv, it interprets it as an instruction to transfer files using Putty Secure Copy Protocol (PSCP). The vulnerability stems from insufficient input validation where the filename variable is concatenated to a buffer and then executed using system() calls without proper sanitization (DEFCESCO Blog).

Impact

The vulnerability allows attackers to execute arbitrary code with the privileges of the user running KiTTY. Since KiTTY operates within the standard user permission group by default, successful exploitation could lead to unauthorized access and control over the affected system. The vulnerability affects users across Windows 11, 10, 8, 7, and XP operating systems (SecurityOnline).

Community reactions

Despite the discovery of the vulnerability and attempts to contact the maintainer, there has been no response from KiTTY's maintainer Cyril Dupont. The vulnerability was initially reported on January 8, 2024, followed by a follow-up email on January 28, 2024, before public disclosure on February 7, 2024 (DEFCESCO Blog).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-22783HIGH8.1
  • NixOSNixOS
  • iris
NoYesJan 12, 2026
CVE-2026-0821MEDIUM6.9
  • NixOSNixOS
  • quickjs
NoNoJan 10, 2026
CVE-2025-68949MEDIUM5.3
  • NixOSNixOS
  • n8n
NoYesJan 13, 2026
CVE-2026-22784LOW2.3
  • NixOSNixOS
  • lychee
NoYesJan 12, 2026
CVE-2026-23497LOW1.3
  • NixOSNixOS
  • learning
NoYesJan 14, 2026

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