Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. binwalk
  4. ›
  5. CVE-2022-4510

CVE-2022-4510: Relative Path Traversal

January 26, 2023 (updated February 4, 2023)

A path traversal vulnerability was identified in ReFirm Labs binwalk from version 2.1.2b through 2.3.3 included. By crafting a malicious PFS filesystem file, an attacker can get binwalk’s PFS extractor to extract files at arbitrary locations when binwalk is run in extraction mode (-e option). Remote code execution can be achieved by building a PFS filesystem that, upon extraction, would extract a malicious binwalk module into the folder .config/binwalk/plugins. This vulnerability is associated with program files src/binwalk/plugins/unpfs.py. This issue affects binwalk from 2.1.2b through 2.3.3 included.

References

  • github.com/ReFirmLabs/binwalk/pull/617
  • github.com/advisories/GHSA-3cm8-v4mc-gppg
  • nvd.nist.gov/vuln/detail/CVE-2022-4510

Code Behaviors & Features

Detect and mitigate CVE-2022-4510 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.1.2b up to 2.3.3

Solution

Unfortunately, there is no solution available yet.

Impact 7.8 HIGH

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

Learn more about CVSS

Weakness

  • CWE-352: Cross-Site Request Forgery (CSRF)

Source file

pypi/binwalk/CVE-2022-4510.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:15:43 +0000.