Description
Extract is aA Go library to extract archives in zip, tar.gz or tar.bz2 formats. A maliciously crafted archive may allow an attacker to create a symlink outside the extraction target directory. This vulnerability is fixed in 4.0.0. If you're using the Extractor.FS interface, then upgrading to /v4 will require to implement the new methods that have been added.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| codeclysm | extract | < 4.0.0 | — |
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.
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP6 | govulncheck-vulndb | 0.0.20241030T212825-150000.1.9.1 | SUSE-SU-2024:3911-1 |
| SLES 15 SP5 | govulncheck-vulndb | 0.0.20241030T212825-150000.1.9.1 | SUSE-SU-2024:3911-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Package Hub 12 | govulncheck-vulndb | 0.0.20241104T154416-5.1 | openSUSE-SU-2024:0350-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | govulncheck-vulndb | 0.0.20241030T212825-1.1 | openSUSE-SU-2024:14447-1 |
| openSUSE Leap 15.6 | govulncheck-vulndb | 0.0.20241030T212825-150000.1.9.1 | SUSE-SU-2024:3911-1 |
| openSUSE Leap 15.5 | govulncheck-vulndb | 0.0.20241030T212825-150000.1.9.1 | SUSE-SU-2024:3911-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/codeclysm/extract | <= 2.2.0 | — | GHSA-8rm2-93mq-jqhc |
| Go | github.com/codeclysm/extract | all versions | — | GO-2024-3196 |
| Go | github.com/codeclysm/extract/v3 | <= 3.1.1 | — | GHSA-8rm2-93mq-jqhc |
| Go | github.com/codeclysm/extract/v3 | all versions | — | GO-2024-3196 |
| Go | github.com/codeclysm/extract/v4 | < 4.0.0 | 4.0.0 | GHSA-8rm2-93mq-jqhc |
Advisories 3
- SUSE-SU-2024:3911-1 Security update for govulncheck-vulndb SUSE / openSUSE Security Updates · Feb 5, 2026
- openSUSE-SU-2024:0350-1 Security update for govulncheck-vulndb SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:14447-1 govulncheck-vulndb-0.0.20241030T212825-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026