
CVE catalog
CVE-2021-4287
binwalk: CVE-2021-4287
- Severity
- Low
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 2.04% · Oct 25, 2026
A vulnerability, which was classified as problematic, was found in ReFirm Labs binwalk up to 2.3.2. Affected is an unknown function of the file src/binwalk/modules/extractor.py of the component Archive Extraction Handler. The manipulation leads to symlink following. It is possible to launch the attack remotely. Upgrading to version 2.3.3 is able to address this issue. The name of the patch is fa0c0bd59b8588814756942fe4cb5452e76c1dcd. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-216876.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | binwalk | sid | 2.4.3+dfsg1-3 | fixed |
| Debian | binwalk | forky | 2.4.3+dfsg1-3 | fixed |
| Debian | binwalk | trixie | 2.4.3+dfsg1-2+deb13u1 | fixed |
| Debian | binwalk | bookworm | 2.3.4+dfsg1-1 | fixed |
| Ubuntu | binwalk | 18.04 | 2.1.1-16 | vulnerable |
| Ubuntu | binwalk | 20.04 | 2.1.2~git20180830+dfsg1-1 | vulnerable |
| Ubuntu | binwalk | 20.04 | 2.2.0+dfsg1-1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | binwalk | source | sid | 2.3.3+dfsg1-1 | unimportant | Not reported | Not reported |
| Debian | binwalk | source | forky | 2.3.3+dfsg1-1 | unimportant | Not reported | Not reported |
| Debian | binwalk | source | trixie | 2.3.3+dfsg1-1 | unimportant | Not reported | Not reported |
| Debian | binwalk | source | bookworm | 2.3.3+dfsg1-1 | unimportant | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [binwalk]Fixed
Details (2)
2.3.4+dfsg1-1· all · bookwormFixed · Fixed:
2.3.3+dfsg1-1dsa · binwalk · debian · bookworm; dsa · binwalk · debian · 12
2.3.4+dfsg1-1· all · bookwormFixed · Fixed:
2.3.3+dfsg1-1dsa · binwalk · debian · bookworm; dsa · binwalk · debian · 12
- [python3-binwalk]Fixed
Source package: [binwalk]
Details (2)
2.3.4+dfsg1-1· all · bookwormFixed · Fixed:
2.3.3+dfsg1-1dsa · binwalk · debian · bookworm; dsa · binwalk · debian · 12
2.3.4+dfsg1-1· all · bookwormFixed · Fixed:
2.3.3+dfsg1-1dsa · binwalk · debian · bookworm; dsa · binwalk · debian · 12
[Debian 13 (Trixie)]
- [binwalk]Fixed
Details (2)
2.4.3+dfsg1-2· all · trixieFixed · Fixed:
2.3.3+dfsg1-1dsa · binwalk · debian · 13
2.4.3+dfsg1-2· all · trixieFixed · Fixed:
2.3.3+dfsg1-1dsa · binwalk · debian · 13
- [python3-binwalk]Fixed
Source package: [binwalk]
Details (2)
2.4.3+dfsg1-2· all · trixieFixed · Fixed:
2.3.3+dfsg1-1dsa · binwalk · debian · 13
2.4.3+dfsg1-2· all · trixieFixed · Fixed:
2.3.3+dfsg1-1dsa · binwalk · debian · 13
Observed: