---
id: CVE-2023-43621
aliases:
  - GHSA-7g3v-4ggr-xvjf
  - GO-2023-2069
title: Croc may expose secret to local users
summary: Croc may expose secret to local users
severity: medium
cvss: 4.7
cvssVector: 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N'
vendor: schollz
product: github.com/schollz/croc/v9
ecosystem: go
affected:
  - github.com/schollz/croc/v9 < 9.6.16
patched:
  - github.com/schollz/croc/v9 9.6.16
published: '2023-09-20'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:49:57.862297853Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-7g3v-4ggr-xvjf'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2023-43621'
  - url: 'https://github.com/schollz/croc/issues/598'
  - url: 'https://github.com/schollz/croc/pull/701'
  - url: >-
      https://github.com/schollz/croc/commit/863dabb93a271f41b3431c4384357e1856a69533
  - url: 'https://github.com/schollz/croc'
  - url: 'https://www.openwall.com/lists/oss-security/2023/09/08/2'
  - url: 'http://www.openwall.com/lists/oss-security/2023/09/21/5'
tags:
  - osv
  - go
epss: 0.00306
epssPercentile: 0.20868
ingestedAt: '2026-09-12T03:13:01.764Z'
---

## Overview

An issue was discovered in Croc before 9.6.16. The shared secret, located on a command line, can be read by local users who list all processes and their arguments.

## Affected packages

- `github.com/schollz/croc/v9 < 9.6.16`

## Remediation

Upgrade to a patched release:

- `github.com/schollz/croc/v9 9.6.16`
