Skip to main content
← All vulnerabilities
CVE-2024-47877GO-2024-3196GHSA-8RM2-93MQ-JQHC

Extract has insufficient checks allowing attacker to create symlinks outside the extraction directory.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.0.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • codeclysm extract

    fixed in 4.0.0

  • github.com/codeclysm/extractGo

    All versions

  • github.com/codeclysm/extract/v3Go

    All versions

  • github.com/codeclysm/extract/v4Go

    fixed in 4.0.0

  • github.com/codeclysm/extract/v3Go

    through 3.1.1

  • github.com/codeclysm/extractGo

    through 2.2.0

References 2

GitHub · codeclysm/extract