Vulnerability Details : CVE-2021-4287
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.
Products affected by CVE-2021-4287
- cpe:2.3:a:microsoft:binwalk:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-4287
0.38%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 56 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-4287
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.0
|
MEDIUM | CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L |
1.6
|
3.4
|
VulDB | |
5.0
|
MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L |
1.6
|
3.4
|
VulDB | 2024-02-29 |
6.5
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
2.8
|
3.6
|
NIST |
CWE ids for CVE-2021-4287
-
The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.Assigned by: nvd@nist.gov (Primary)
-
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.Assigned by: cna@vuldb.com (Secondary)
References for CVE-2021-4287
-
https://github.com/ReFirmLabs/binwalk/pull/556
Symlink directory traversal security fix by devttys0 · Pull Request #556 · ReFirmLabs/binwalk · GitHubPatch;Third Party Advisory
-
https://vuldb.com/?ctiid.216876
CVE-2021-4287 | ReFirm Labs binwalk Archive Extraction extractor.py symlink (ID 556)Third Party Advisory
-
https://github.com/ReFirmLabs/binwalk/commit/fa0c0bd59b8588814756942fe4cb5452e76c1dcd
Merge pull request #556 from ReFirmLabs/unpriv_user_exec · ReFirmLabs/binwalk@fa0c0bd · GitHubPatch;Third Party Advisory
-
https://vuldb.com/?id.216876
CVE-2021-4287 | ReFirm Labs binwalk Archive Extraction extractor.py symlink (ID 556)Third Party Advisory
-
https://github.com/ReFirmLabs/binwalk/releases/tag/v2.3.3
Release Binwalk 2.3.3 · ReFirmLabs/binwalk · GitHubRelease Notes;Third Party Advisory
Jump to