{ "schema_version": "1.4.0", "id": "GHSA-3cm8-v4mc-gppg", "modified": "2023-09-20T21:09:18Z", "published": "2023-01-26T21:30:20Z", "aliases": [ "CVE-2022-4510" ], "summary": "Path traversal in binwalk", "details": "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.", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H" } ], "affected": [ { "package": { "ecosystem": "PyPI", "name": "binwalk" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "2.1.2b" }, { "last_affected": "2.3.3" } ] } ] } ], "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-4510" }, { "type": "WEB", "url": "https://github.com/ReFirmLabs/binwalk/pull/617" }, { "type": "PACKAGE", "url": "https://github.com/ReFirmLabs/binwalk" }, { "type": "WEB", "url": "https://security.gentoo.org/glsa/202309-07" } ], "database_specific": { "cwe_ids": [ "CWE-22" ], "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2023-01-31T20:53:49Z", "nvd_published_at": "2023-01-26T21:18:00Z" } }