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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| ReFirm Labs | binwalk | 2.3.0, 2.3.1, 2.3.2 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | binwalk | 2.3.3+dfsg1-1 | — |
| Debian 13 | binwalk | 2.3.3+dfsg1-1 | — |
| Debian 12 | binwalk | 2.3.3+dfsg1-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | binwalk | No fix yet | — |
| Ubuntu 18.04 LTS | binwalk | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | binwalk | < 2.3.3 | 2.3.3 | GHSA-8m3f-g62j-3vx8 |
References
- https://vuldb.com/?id.216876 vdb-entry
- https://vuldb.com/?ctiid.216876 signature permissions-required
- https://github.com/ReFirmLabs/binwalk/pull/556 issue-tracking
- https://github.com/ReFirmLabs/binwalk/commit/fa0c0bd59b8588814756942fe4cb5452e76c1dcd patch
- https://github.com/ReFirmLabs/binwalk/releases/tag/v2.3.3 patch