CVE-2021-4287
MEDIUM 6.5CVSS 3.1binwalk vulnerable to UNIX Symbolic Link (Symlink) Following
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.
- Published
- 27 Dec 2022
- Last modified
- 7 Jul 2026
- Assigned by
- cna@vuldb.com
- NVD status
- Modified
- Weakness
- CWE-59CWE-61
- Also known as
- GHSA-8m3f-g62j-3vx8PYSEC-2026-788
- Sources
- NVDJSONOSV GHSA-8m3f-g62j-3vx8JSONOSV PYSEC-2026-788JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| NVD | cna@vuldb.com (Secondary) | CVSS 3.1 | MEDIUM 5.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | microsoft | binwalkcpe:2.3:a:microsoft:binwalk:*:*:*:*:*:*:*:* |
< 2.3.3 | 2.3.3 |
| OSV | PyPI | binwalk | < 2.3.3 | 2.3.3 |
References
- https://github.com/ReFirmLabs/binwalk/commit/fa0c0bd59b8588814756942fe4cb5452e76c1dcd · Patch, Third Party Advisory, WEB
- https://github.com/ReFirmLabs/binwalk/pull/556 · Patch, Third Party Advisory, WEB
- https://github.com/ReFirmLabs/binwalk/releases/tag/v2.3.3 · Release Notes, Third Party Advisory, WEB
- https://vuldb.com/?ctiid.216876 · Third Party Advisory, WEB
- https://vuldb.com/?id.216876 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-4287 · ADVISORY
- https://github.com/ReFirmLabs/binwalk · PACKAGE
- https://pypi.org/project/binwalk · PACKAGE
- https://github.com/advisories/GHSA-8m3f-g62j-3vx8 · ADVISORY
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 27 Dec 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 27 Dec 2022)