CVE-2022-4510 – binwalk
Package
Manager: pip
Name: binwalk
Vulnerable Version: >=2.1.2b <=2.3.3
Severity
Level: High
CVSS v3.1: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS: 0.42527 pctl0.97373
Details
Path traversal in binwalk 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.
Metadata
Created: 2023-01-26T21:30:20Z
Modified: 2023-09-20T21:09:18Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/01/GHSA-3cm8-v4mc-gppg/GHSA-3cm8-v4mc-gppg.json
CWE IDs: ["CWE-22"]
Alternative ID: GHSA-3cm8-v4mc-gppg
Finding: F063
Auto approve: 1