Skip to content
OpenAdvisories
Medium · 5.0 CVE-2021-4287 EUVD-2022-7566GHSA-8m3f-g62j-3vx8PYSEC-2026-788

ReFirm Labs binwalk Archive Extraction extractor.py symlink

Published Dec 27, 2022 · Updated Apr 11, 2025 · Assigned by VulDB

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

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
Debian 14 binwalk 2.3.3+dfsg1-1 —
Debian 13 binwalk 2.3.3+dfsg1-1 —
Debian 12 binwalk 2.3.3+dfsg1-1 —
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS binwalk No fix yet —
Ubuntu 18.04 LTS binwalk No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI binwalk < 2.3.3 2.3.3 GHSA-8m3f-g62j-3vx8

References