Description
An issue was discovered in Croc through 9.6.5. A sender can cause a receiver to overwrite files during ZIP extraction.
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.2.1-r4 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/schollz/croc | < 9.6.16 | 9.6.16 | GHSA-8c8w-f7wp-2jr2 |
| Go | github.com/schollz/croc | all versions | — | GO-2023-2071 |
| Go | github.com/schollz/croc/v6 | all versions | — | GO-2023-2071 |
| Go | github.com/schollz/croc/v8 | all versions | — | GO-2023-2071 |
| Go | github.com/schollz/croc/v9 | < 9.6.16 | 9.6.16 | GO-2023-2071 |