Untriaged
Permalink
CVE-2022-4510
7.8 HIGH
- CVSS version: 3.1
- Attack vector (AV): LOCAL
- Attack complexity (AC): LOW
- Privileges required (PR): NONE
- User interaction (UI): REQUIRED
- Scope (S): UNCHANGED
- Confidentiality impact (C): HIGH
- Integrity impact (I): HIGH
- Availability impact (A): HIGH
Path Traversal in binwalk
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
- https://github.com/ReFirmLabs/binwalk/pull/617
- https://security.gentoo.org/glsa/202309-07
- https://github.com/ReFirmLabs/binwalk/pull/617 x_transferred
- https://security.gentoo.org/glsa/202309-07 x_transferred
- https://github.com/ReFirmLabs/binwalk/pull/617
- https://security.gentoo.org/glsa/202309-07
- https://github.com/ReFirmLabs/binwalk/pull/617 x_transferred
- https://security.gentoo.org/glsa/202309-07 x_transferred
- https://github.com/ReFirmLabs/binwalk/pull/617
- https://security.gentoo.org/glsa/202309-07
- https://security.gentoo.org/glsa/202309-07 x_transferred
- https://github.com/ReFirmLabs/binwalk/pull/617 x_transferred
- https://github.com/ReFirmLabs/binwalk/pull/617
- https://security.gentoo.org/glsa/202309-07
- https://lists.debian.org/debian-lts-announce/2025/12/msg00022.html
- https://github.com/ReFirmLabs/binwalk/pull/617 x_transferred
- https://security.gentoo.org/glsa/202309-07 x_transferred
Affected products
binwalk
- =<2.3.3
Package maintainers
-
@k0ral Koral <koral@mailoo.org>
-
@felbinger Nico Felbinger <nico@felbinger.eu>