CVE-2023-43616
NixOS vulnerability analysis and mitigation

Overview

CVE-2023-43616 is a security vulnerability discovered in Croc through version 9.6.5. The vulnerability allows a sender to cause a receiver to overwrite files during ZIP extraction. This issue was identified and reported in September 2023 (OSS Security).

Technical details

The vulnerability stems from a design flaw in the ZIP file handling mechanism of Croc. When using the transparent ZIP transfer option, the sender has sole control over whether files are zipped, and the receiver automatically attempts to unzip the received data. The vulnerability is tracked as CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) and has been assigned a CVSS v3.1 base score of 5.5 (Medium) with vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N (NVD).

Impact

The vulnerability allows an attacker to bypass the file overwrite protection mechanism by placing arbitrary paths into the ZIP archive. This can lead to unauthorized file overwrites, including sensitive files such as '../../.ssh/authorized_keys', potentially compromising the receiver's system security (GitHub Issue).

Mitigation and workarounds

As of the vulnerability disclosure, no official patch has been released. The recommended mitigation approach would be to use a pristine empty directory for each new file transfer where nothing can be overwritten. Additionally, it is suggested that only the receiver should have control over whether ZIP files are handled, and better controls should be implemented for the unzip process to prevent overwrites (GitHub Issue).

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-2025-61619HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61618HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61617HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61610HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-65622MEDIUM5.4
  • PHPPHP
  • snipe-it
NoYesDec 01, 2025

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