Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/codeclysm/extract/v4
  4. ›
  5. CVE-2024-47877

CVE-2024-47877: Extract has insufficient checks allowing attacker to create symlinks outside the extraction directory.

October 11, 2024 (updated October 15, 2024)

A maliciously crafted archive may allow an attacker to create a symlink outside the extraction target directory.

References

  • github.com/advisories/GHSA-8rm2-93mq-jqhc
  • github.com/codeclysm/extract
  • github.com/codeclysm/extract/commit/4a98568021b8e289345c7f526ccbd7ed732cf286
  • github.com/codeclysm/extract/security/advisories/GHSA-8rm2-93mq-jqhc
  • nvd.nist.gov/vuln/detail/CVE-2024-47877

Code Behaviors & Features

Detect and mitigate CVE-2024-47877 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 4.0.0

Fixed versions

  • 4.0.0

Solution

Upgrade to version 4.0.0 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-61: UNIX Symbolic Link (Symlink) Following

Source file

go/github.com/codeclysm/extract/v4/CVE-2024-47877.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:32 +0000.