CVE-2021-4287

NameCVE-2021-4287
DescriptionA 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
binwalk (PTS)buster2.1.2~git20180830+dfsg1-1vulnerable
buster (security)2.1.2~git20180830+dfsg1-1+deb10u1vulnerable
bullseye2.3.1+dfsg1-1vulnerable
bookworm2.3.4+dfsg1-1fixed
sid, trixie2.3.4+dfsg1-5fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
binwalksource(unstable)2.3.3+dfsg1-1unimportant

Notes

https://github.com/ReFirmLabs/binwalk/commit/fa0c0bd59b8588814756942fe4cb5452e76c1dcd (v2.3.3)
https://github.com/ReFirmLabs/binwalk/pull/556
This is not a security vulnerability, but only adds a security-related feature

Search for package or bug name: Reporting problems