Skip to content
Fencer Vulns
medium 4.7

CVE-2023-43621 json

Croc may expose secret to local users

published 2023-09-20 3 y ago modified 2026-09-10 1 mo ago also GHSA-7g3v-4ggr-xvjf , GO-2023-2069 , EUVD-2023-2457

cvss
4.7
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 23%
public exploits
0
none known

Summary

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

Patch / fix

  • go github.com/schollz/croc/v9 9.6.16
  • croc Alpine 3.24, Alpine 3.23, Alpine 3.22 10.0.11-r0

alpine advisories ALPINE-CVE-2023-43621

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-43621 updated cvss 5.0

croc: The shared secret, located on a command line, can be read by local users

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

0.31% chance of exploitation in the next 30 days, higher than 23% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • openwall.com https://www.openwall.com/lists/oss-security/2023/09/08/2 referenced PoC, tagged "exploit" by a source, unverified
  • github.com https://github.com/schollz/croc/issues/598 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 4.7 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
GitHub 3.1 4.7 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
go github.com/schollz/croc/v9
<9.6.16
9.6.16
go github.com/schollz/croc
all versions
no fix listed
go github.com/schollz/croc/v6
all versions
no fix listed
go github.com/schollz/croc/v8
all versions
no fix listed

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.