Bugzilla – Bug 1207744
VUL-0: CVE-2022-4510: binwalk: path traversal in PFS extractor script
Last modified: 2023-01-30 16:21:13 UTC
rh#2165005 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 References: https://bugzilla.redhat.com/show_bug.cgi?id=2165005 http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-4510 https://www.cve.org/CVERecord?id=CVE-2022-4510 https://github.com/ReFirmLabs/binwalk/pull/617
patch applied and SR pushed to Factory, waiting for acceptance
accepted in openSUSE:Factory