{"id":"CVE-2021-4287","published":"2022-12-27T10:32:41Z","modified":"2025-04-11T14:42:29Z","title":"ReFirm Labs binwalk Archive Extraction extractor.py symlink","vendor":"ReFirm Labs","product":"binwalk","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02145,"percentile":0.82525,"provenance":"source"},"cwes":[{"id":"CWE-61","name":"UNIX Symbolic Link (Symlink) Following"}],"references":[{"url":"https://vuldb.com/?id.216876","tags":["vdb-entry"]},{"url":"https://vuldb.com/?ctiid.216876","tags":["signature","permissions-required"]},{"url":"https://github.com/ReFirmLabs/binwalk/pull/556","tags":["issue-tracking"]},{"url":"https://github.com/ReFirmLabs/binwalk/commit/fa0c0bd59b8588814756942fe4cb5452e76c1dcd","tags":["patch"]},{"url":"https://github.com/ReFirmLabs/binwalk/releases/tag/v2.3.3","tags":["patch"]}],"priority":{"score":20.0,"factors":[{"name":"EPSS percentile","points":16.51},{"name":"CVSS severity","points":3.5}]},"vendorSlug":"refirm-labs","affectedVersions":[{"vendor":"ReFirm Labs","product":"binwalk","versions":["2.3.0","2.3.1","2.3.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-11T14:42:13.101400Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"binwalk","vulnerableRanges":["<2.3.3"],"patched":["2.3.3"],"from":["GHSA-8m3f-g62j-3vx8","PYSEC-2026-788"],"provenance":"source"}],"summary":{"text":"The flaw is a symlink-following issue in the Archive Extraction Handler component of ReFirm Labs binwalk (up to 2.3.2), located in the file src/binwalk/modules/extractor.py. An attacker can exploit it remotely, under high-complexity conditions that require user interaction, with no authentication needed; upgrading to version 2.3.3 addresses it.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:17:42Z"},"euvd":{"id":"EUVD-2022-7566","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-4287","published":"2022-12-27","fixed":"2.3.3","kev":false},{"cve":"CVE-2022-4510","published":"2023-01-25","fixed":"2.3.4","kev":false,"link":{"from":"CVE-2021-4287","to":"CVE-2022-4510","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:binwalk","fromFixed":"2.3.3","toFixed":"2.3.4","daysApart":29},{"kind":"similar","provenance":"machine","score":0.5,"basis":"same product + description similarity"}]}}],"package":"PyPI:binwalk"}}