Published on: Not Yet Published

Last Modified on: 02/03/2023 07:15:00 PM UTC

Certain versions of Binwalk from Refirm Labs contain the following vulnerability:

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/ This issue affects binwalk from 2.1.2b through 2.3.3 included.

  • CVE-2022-4510 has been assigned by URL Logo [email protected] to track the vulnerability
  • The finder provided a proof-of-concept publicly so that maintainers could reproduce the vulnerability (see ).
  • Affected Vendor/Software: URL Logo Refirm Labs - binwalk version = 2.1.2b
Vulnerability Patch/Work Around
  • The following workaround would fix the vulnerability: * removing the unpfs extractor from your local install of binwalk * disabling the unpfs extractor by editing binwalk's extract.conf configuration file * apply the fix provided at

CVE References

Description Tags Link
fix path traversal in PFS extractor script by QKaiser · Pull Request #617 · ReFirmLabs/binwalk · GitHub

Known Affected Software

Vendor Product Version
Refirm Labs binwalk= 2.1.2b

Social Mentions

Source Title Posted (UTC)
Twitter Icon @CVEreport CVE-2022-4510 : A path traversal vulnerability was identified in ReFirm Labs binwalk from version 2.1.2b through 2.…… 2023-01-26 21:17:56
© 2023 Twitter Nitter Twitter Viewer |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license. and Source URL Uptime Status