Skip to content
OpenAdvisories
Medium · 4.7 CVE-2023-43621 EUVD-2023-2457GHSA-7g3v-4ggr-xvjfGO-2023-2069

Croc may expose secret to local users

Published Sep 20, 2023 · Updated Sep 24, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Alpine v3.24 croc 10.0.11-r0 —
Alpine v3.23 croc 10.0.11-r0 —
Alpine v3.22 croc 10.0.11-r0 —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling croc 10.0.0-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/schollz/croc all versions — GO-2023-2069
Go github.com/schollz/croc/v6 all versions — GO-2023-2069
Go github.com/schollz/croc/v8 all versions — GO-2023-2069
Go github.com/schollz/croc/v9 < 9.6.16 9.6.16 GHSA-7g3v-4ggr-xvjf

References