Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS0zY204LXY0bWMtZ3BwZ84AAxJf

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.

Permalink: https://github.com/advisories/GHSA-3cm8-v4mc-gppg
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS0zY204LXY0bWMtZ3BwZ84AAxJf
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: about 1 year ago
Updated: 7 months ago


CVSS Score: 7.8
CVSS vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Identifiers: GHSA-3cm8-v4mc-gppg, CVE-2022-4510
References: Repository: https://github.com/ReFirmLabs/binwalk
Blast Radius: 16.5

Affected Packages

pypi:binwalk
Dependent packages: 0
Dependent repositories: 132
Downloads: 1,134 last month
Affected Version Ranges: >= 2.1.2b, <= 2.3.3
No known fixed version
All affected versions: