# CVE-2023-43616: GO-2023-2071 - Sender can cause a receiver to overwrite files during ZIP extraction in Croc in github.com/schollz/croc

Source: https://junglewise.ai/threats/cve-2023-43616-sender-can-cause-a-receiver-to-overwrite-files-during-zip  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-08-21  
License: CC BY 4.0 with a link back

CVE-2023-43616 · Severity: low · CVSS 3.1 · Published 2024-08-21

Sender can cause a receiver to overwrite files during ZIP extraction in Croc in github.com/schollz/croc

Technologies: [github.com/schollz/croc (Go)](https://junglewise.ai/threats/technologies/github-com-schollz-croc), [github.com/schollz/croc/v6 (Go)](https://junglewise.ai/threats/technologies/github-com-schollz-croc-v6), [github.com/schollz/croc/v8 (Go)](https://junglewise.ai/threats/technologies/github-com-schollz-croc-v8), [github.com/schollz/croc/v9 (Go)](https://junglewise.ai/threats/technologies/github-com-schollz-croc-v9). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2023-43616 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2023-43616 being exploited in the wild.

**How severe is CVE-2023-43616?** Low severity, with a CVSS score of 3.1, published 21 August 2024.

**Which products and versions are affected?** github.com/schollz/croc (Go) SEMVER:introduced=0, SEMVER:introduced=0,fixed=9.6.16; github.com/schollz/croc/v6 (Go) SEMVER:introduced=0; github.com/schollz/croc/v8 (Go) SEMVER:introduced=0; github.com/schollz/croc/v9 (Go) SEMVER:introduced=0,fixed=9.6.16.

**Is there a fix for CVE-2023-43616?** Yes. github.com/schollz/croc (Go): upgrade to 9.6.16 or later; github.com/schollz/croc/v9 (Go): upgrade to 9.6.16 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2023-43616?** Check whether you run github.com/schollz/croc (Go), github.com/schollz/croc/v6 (Go), github.com/schollz/croc/v8 (Go) or one of the others listed at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/schollz/croc (Go): upgrade to 9.6.16 or later

  ```sh
  go get github.com/schollz/croc@v9.6.16
  ```

- github.com/schollz/croc/v9 (Go): upgrade to 9.6.16 or later

  ```sh
  go get github.com/schollz/croc/v9@v9.6.16
  ```


## Affected products

- github.com/schollz/croc (Go) SEMVER:introduced=0, SEMVER:introduced=0,fixed=9.6.16
- github.com/schollz/croc/v6 (Go) SEMVER:introduced=0
- github.com/schollz/croc/v8 (Go) SEMVER:introduced=0
- github.com/schollz/croc/v9 (Go) SEMVER:introduced=0,fixed=9.6.16

## Identifiers

- CVE-2023-43616
- GHSA-8c8w-f7wp-2jr2
- GO-2023-2071

## Related threats

- [croc file overwrite vulnerability in text-transfer handling](https://junglewise.ai/threats/cve-2026-119298-croc-is-a-tool-that-allows-any-two-computers-to-simply-and)
- [GO-2023-2073 - Croc sender may send dangerous new files to receiver in github.com/schollz/croc](https://junglewise.ai/threats/cve-2023-43619-croc-sender-may-send-dangerous-new-files-to-receiver)
- [GO-2023-2069 - Croc may expose secret to local users in github.com/schollz/croc](https://junglewise.ai/threats/cve-2023-43621-croc-may-expose-secret-to-local-users)
- [GO-2023-2072 - Cros secrets may be disclosed to untrusted relay in github.com/schollz/croc](https://junglewise.ai/threats/cve-2023-43617-cros-secrets-may-be-disclosed-to-untrusted-relay)
- [Croc sender may place ANSI or CSI escape sequences in filename to attach receiver's terminal device](https://junglewise.ai/threats/cve-2023-43620-croc-sender-may-place-ansi-or-csi-escape-sequences-in-filename-to)
