CVE-2021-4287 ReFirm Labs binwalk Archive Extraction extractor.py symlink
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
Description
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.
Upgrade path
8 packages: 5 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/binwalk(Ubuntu 18.04) | = 2.1.1-16; All versions | No fix listed | No fix yet |
| ubuntu/binwalk(Ubuntu Pro 20.04) | = 2.1.2~git20180830+dfsg1-1; = 2.2.0+dfsg1-1; = 2.2.0+dfsg1-1ubuntu0.1~esm1; All versions | No fix listed | No fix yet |
| debian/binwalk(Debian 12) | < 2.3.3+dfsg1-1 | 2.3.3+dfsg1-1 | Fixed |
| debian/binwalk(Debian 13) | < 2.3.3+dfsg1-1 | 2.3.3+dfsg1-1 | Fixed |
| debian/binwalk(Debian 14) | < 2.3.3+dfsg1-1 | 2.3.3+dfsg1-1 | Fixed |
| Microsoft binwalk | < 2.3.3 | 2.3.3 | Fixed |
| pypi binwalk(PyPI) | < 2.3.3; = 2.1.0 | 2.3.3 | Fixed |
| Refirm Labs binwalk | = 2.3.0; = 2.3.1; = 2.3.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi binwalk(PyPI) | < 2.3.3 | 2.3.3 |
| pypi binwalk(PyPI) | = 2.1.0 | No fix listed |
| debian/binwalk(Debian:12) | < 2.3.3+dfsg1-1 | 2.3.3+dfsg1-1 |
| debian/binwalk(Debian:13) | < 2.3.3+dfsg1-1 | 2.3.3+dfsg1-1 |
| debian/binwalk(Debian:14) | < 2.3.3+dfsg1-1 | 2.3.3+dfsg1-1 |
| Microsoft binwalk | < 2.3.3 | 2.3.3 |
| Refirm Labs binwalk | = 2.3.0 | No fix listed |
| Refirm Labs binwalk | = 2.3.1 | No fix listed |
| Refirm Labs binwalk | = 2.3.2 | No fix listed |
| ubuntu/binwalk(Ubuntu:18.04) | All versions | No fix listed |
| ubuntu/binwalk(Ubuntu:18.04) | = 2.1.1-16 | No fix listed |
| ubuntu/binwalk(Ubuntu:Pro:20.04) | All versions | No fix listed |
| ubuntu/binwalk(Ubuntu:Pro:20.04) | = 2.1.2~git20180830+dfsg1-1 | No fix listed |
| ubuntu/binwalk(Ubuntu:Pro:20.04) | = 2.2.0+dfsg1-1 | No fix listed |
| ubuntu/binwalk(Ubuntu:Pro:20.04) | = 2.2.0+dfsg1-1ubuntu0.1~esm1 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com issue-tracking patch third-party-advisory
- github.com patch third-party-advisory
- github.com product
- github.com issue-tracking patch release-notes third-party-advisory
- vuldb.com permissions-required signature third-party-advisory
- vuldb.com third-party-advisory vdb-entry
- github.com vendor-advisory
- pypi.org product
- Debian Security Tracker CVE-2021-4287 vendor-advisory
- ubuntu.com issue-tracking
- www.cve.org issue-tracking