Bug 2165005 (CVE-2022-4510) - CVE-2022-4510 binwalk: path traversal in PFS extractor script
Summary: CVE-2022-4510 binwalk: path traversal in PFS extractor script
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2022-4510
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2165006
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-01-27 10:49 UTC by Mauro Matteo Cascella
Modified: 2023-01-29 23:52 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-01-29 23:52:10 UTC
Embargoed:


Attachments (Terms of Use)

Description Mauro Matteo Cascella 2023-01-27 10:49:11 UTC
A path traversal vulnerability was identified in ReFirm Labs binwalk from version 2.1.2b through 2.3.2 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.

Upstream PR:
https://github.com/ReFirmLabs/binwalk/pull/617

Comment 1 Mauro Matteo Cascella 2023-01-27 10:49:37 UTC
Created binwalk tracking bugs for this issue:

Affects: fedora-all [bug 2165006]

Comment 2 Product Security DevOps Team 2023-01-29 23:52:08 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


Note You need to log in before you can comment on or make changes to this bug.