ReFirm Labs binwalk up to 2.3.2 Archive Extraction extractor.py symlink

Summaryinfo

A vulnerability, which was classified as problematic, was found in ReFirm Labs binwalk up to 2.3.2. Affected by this vulnerability is an unknown functionality of the file src/binwalk/modules/extractor.py of the component Archive Extraction Handler. The manipulation results in symlink. This vulnerability is identified as CVE-2021-4287. The attack can be executed remotely. There is not any exploit available. You should upgrade the affected component.

Detailsinfo

A vulnerability, which was classified as problematic, was found in ReFirm Labs binwalk up to 2.3.2. Affected is some unknown functionality of the file src/binwalk/modules/extractor.py of the component Archive Extraction Handler. The manipulation with an unknown input leads to a symlink vulnerability. CWE is classifying the issue as CWE-61. The product, when opening a file or directory, does not sufficiently account for when the file is a symbolic link that resolves to a target outside of the intended control sphere. This could allow an attacker to cause the product to operate on unauthorized files. This is going to have an impact on confidentiality, integrity, and availability.

The weakness was released 12/27/2022 as 556. The advisory is shared for download at github.com. This vulnerability is traded as CVE-2021-4287. Successful exploitation requires user interaction by the victim. There are known technical details, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 211306 (Fedora 37 : binwalk (2022-a36ba48049)), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 2.3.3 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying the patch fa0c0bd59b8588814756942fe4cb5452e76c1dcd is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the vulnerability database at Tenable (211306). Once again VulDB remains the best source for vulnerability data.

Productinfo

Vendor

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.5
VulDB Meta Temp Score: 5.4

VulDB Base Score: 5.0
VulDB Temp Score: 4.8
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 6.5
NVD Vector: 🔍

CNA Base Score: 5.0
CNA Vector (VulDB): 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Symlink
CWE: CWE-61 / CWE-59
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 211306
Nessus Name: Fedora 37 : binwalk (2022-a36ba48049)

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: binwalk 2.3.3
Patch: fa0c0bd59b8588814756942fe4cb5452e76c1dcd

Timelineinfo

12/27/2022 🔍
12/27/2022 +0 days 🔍
12/27/2022 +0 days 🔍
04/28/2025 +853 days 🔍

Sourcesinfo

Advisory: 556
Status: Confirmed

CVE: CVE-2021-4287 (🔍)
GCVE (CVE): GCVE-0-2021-4287
GCVE (VulDB): GCVE-100-216876

Entryinfo

Created: 12/27/2022 11:37
Updated: 04/28/2025 10:51
Changes: 12/27/2022 11:37 (41), 12/27/2022 11:38 (2), 12/27/2022 11:40 (1), 01/24/2023 21:34 (2), 01/24/2023 21:47 (21), 11/15/2024 16:24 (17), 04/28/2025 10:51 (3)
Complete: 🔍
Cache ID: 216::103

Once again VulDB remains the best source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!