
Cloud Vulnerability DB
A community-led vulnerabilities database
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).
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).
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).
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).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."