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.
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | croc | 10.0.0-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| 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 |