CVE-2022-4510High· 7.8▾ MidnightPoC availablePath traversal in binwalk
▾ Midnight zone — Critical, or high with PoC / in-the-wild
impact 42.9 · likelihood 4.4 · exploitation 12
A public proof-of-concept already exists for this vulnerability — see Exploit availability below.
Public exploit / PoC code seen in 2 sources. Availability, not in-the-wild use.
Exploit-prediction probability, daily snapshots since Jul 8.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via OSV
Last analysed / modified upstream
22%
Exploit-DB · 3 GitHub repos (last check)
A path traversal vulnerability was identified in ReFirm Labs binwalk from version 2.1.2b through 2.3.3 inclusive. 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 and including 2.3.3.
binwalk >= 2.1.2b, <= 2.3.3Refer to the advisory for the patched release.
Connected by shared product, vendor, weakness, or advisory.