CVE-2022-4510
published high CVSS 3.1 · 7.8Path Traversal in binwalk
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Refirm Labs | — | binwalk2.1.2b through 2.3.3 · Other versions: unaffected · Platforms: Linux, MacOS | Affected | Not stated | ONEKEY |
| Debian | bullseye | binwalk | Advisory build | 2.3.1+dfsg1-1+deb11u1 | DLA-4410-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | binwalkaarch64 | Advisory build | 2.3.3-2.1 | OPENSUSE-SU-2024:12649-1 |
| Ubuntu | focal | binwalk | Advisory build | 2.2.0+dfsg1-1ubuntu0.1~esm1 | USN-9134-1 |
| Debian | buster | binwalk | Advisory build | 2.1.2~git20180830+dfsg1-1+deb10u1 | DLA-3339-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | binwalkppc64le | Advisory build | 2.3.3-2.1 | OPENSUSE-SU-2024:12649-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | binwalks390x | Advisory build | 2.3.3-2.1 | OPENSUSE-SU-2024:12649-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | binwalkx86_64 | Advisory build | 2.3.3-2.1 | OPENSUSE-SU-2024:12649-1 |
Show 3 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | jammy | binwalk | Advisory build | 2.3.3+dfsg1-2ubuntu0.1~esm1 | USN-9134-1 |
| Ubuntu | focal | python3-binwalk | Advisory build | 2.2.0+dfsg1-1ubuntu0.1~esm1 | USN-9134-1 |
| Ubuntu | jammy | python3-binwalk | Advisory build | 2.3.3+dfsg1-2ubuntu0.1~esm1 | USN-9134-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- ONEKEY · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Refirm Labs | binwalk | 2.1.2b through 2.3.3 (affected · 2.1.2b)Default: unaffected | ONEKEY · cna |
Weaknesses
1- CWE-22 CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
3Provider assertions
3ONEKEY · cna
Path Traversal in binwalk
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ddc0fc3a895549c5369c04edea1b1c1e15a0c5bc02a7462f70dd5c8bd8d3b037
- Ingested
- 23 Sep 2026, 08:04:30 UTC
- Source record
- Official CVE record