Description
An issue was discovered in Croc through 9.6.5. When a custom shared secret is used, the sender and receiver may divulge parts of this secret to an untrusted Relay, as part of composing a room name.
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-2072 |
| Go | github.com/schollz/croc/v6 | all versions | — | GO-2023-2072 |
| Go | github.com/schollz/croc/v8 | all versions | — | GO-2023-2072 |
| Go | github.com/schollz/croc/v9 | < 9.6.16 | 9.6.16 | GHSA-hp56-xvf4-g6wr |