CVE-2021-4287 json
ReFirm Labs binwalk Archive Extraction extractor.py symlink
published 2022-12-27 3 y ago modified 2026-07-07 4 mo ago also GHSA-8m3f-g62j-3vx8 , PYSEC-2026-788 , EUVD-2022-7566
- cvss
- 5.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.1%
- EPSS 2.1% chance of exploitation in 30 days, percentile 82%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi binwalk 2.3.3
- microsoft binwalk 2.3.3
- binwalk Debian 14, Debian 13, Debian 12 2.3.3+dfsg1-1
debian advisories DEBIAN-CVE-2021-4287
- github.com/ReFirmLabs/binwalk@fa0c0bd commit
- github.com/ReFirmLabs/binwalk#556 pull request
- github.com/ReFirmLabs/binwalk/releases/tag/v2.3.3 release
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-4287 updated cvss 5.0
binwalk: symlink directory traversal vulnerability
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
2.15% chance of exploitation in the next 30 days, higher than 82% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L |
| CNA | 3.0 | 5.0 | CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| OSV | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | binwalk | <2.3.3 |
2.3.3 |
Affected products
- ReFirm Labs binwalk
Classification
References
-
github.com
/ReFirmLabs/binwalk/pull/556
issue-tracking, web, patch, third-party-advisory
-
github.com
/ReFirmLabs/binwalk/commit/fa0c0bd59b8588814756942fe4cb5452e76c1dcd
patch, web, third-party-advisory
-
github.com
/ReFirmLabs/binwalk/releases/tag/v2.3.3
patch, web, release-notes, third-party-advisory
-
vuldb.com
/?id.216876
vdb-entry, web, third-party-advisory
-
vuldb.com
/?ctiid.216876
signature, permissions-required, web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-4287
advisory
-
github.com
/ReFirmLabs/binwalk
package
-
pypi.org
/project/binwalk
package
-
github.com
/advisories/GHSA-8m3f-g62j-3vx8
advisory
Sources
- CVE List CVE-2021-4287
- GitHub Advisory GHSA-8m3f-g62j-3vx8
- NVD CVE-2021-4287
- OSV PYSEC-2026-788
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.