{"api_version":"1","generated_at":"2026-07-23T11:55:29+00:00","cve":"CVE-2021-4287","urls":{"html":"https://cve.report/CVE-2021-4287","api":"https://cve.report/api/cve/CVE-2021-4287.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-4287","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-4287"},"summary":{"title":"CVE-2021-4287","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.","state":"PUBLIC","assigner":"cna@vuldb.com","published_at":"2022-12-27 11:15:00","updated_at":"2023-11-07 03:40:00"},"problem_types":["CWE-59"],"metrics":[],"references":[{"url":"https://github.com/ReFirmLabs/binwalk/commit/fa0c0bd59b8588814756942fe4cb5452e76c1dcd","name":"https://github.com/ReFirmLabs/binwalk/commit/fa0c0bd59b8588814756942fe4cb5452e76c1dcd","refsource":"MISC","tags":[],"title":"Merge pull request #556 from ReFirmLabs/unpriv_user_exec · ReFirmLabs/binwalk@fa0c0bd · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/ReFirmLabs/binwalk/releases/tag/v2.3.3","name":"https://github.com/ReFirmLabs/binwalk/releases/tag/v2.3.3","refsource":"MISC","tags":[],"title":"Release Binwalk 2.3.3 · ReFirmLabs/binwalk · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/ReFirmLabs/binwalk/pull/556","name":"https://github.com/ReFirmLabs/binwalk/pull/556","refsource":"MISC","tags":[],"title":"Symlink directory traversal security fix by devttys0 · Pull Request #556 · ReFirmLabs/binwalk · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://vuldb.com/?ctiid.216876","name":"https://vuldb.com/?ctiid.216876","refsource":"MISC","tags":[],"title":"CVE-2021-4287 | ReFirm Labs binwalk Archive Extraction extractor.py symlink (ID 556)","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://vuldb.com/?id.216876","name":"https://vuldb.com/?id.216876","refsource":"MISC","tags":[],"title":"CVE-2021-4287 | ReFirm Labs binwalk Archive Extraction extractor.py symlink (ID 556)","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-4287","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-4287","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"4287","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"microsoft","cpe5":"binwalk","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-4287","qid":"184381","title":"Debian Security Update for binwalk (CVE-2021-4287)"},{"cve":"CVE-2021-4287","qid":"283579","title":"Fedora Security Update for binwalk (FEDORA-2022-3727f00e4b)"},{"cve":"CVE-2021-4287","qid":"283580","title":"Fedora Security Update for binwalk (FEDORA-2022-a36ba48049)"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2021-4287","ASSIGNER":"cna@vuldb.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"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."},{"lang":"deu","value":"Es wurde eine Schwachstelle in ReFirm Labs binwalk bis 2.3.2 gefunden. Sie wurde als problematisch eingestuft. Hiervon betroffen ist ein unbekannter Codeblock der Datei src/binwalk/modules/extractor.py der Komponente Archive Extraction Handler. Dank der Manipulation mit unbekannten Daten kann eine symlink following-Schwachstelle ausgenutzt werden. Der Angriff kann über das Netzwerk angegangen werden. Ein Aktualisieren auf die Version 2.3.3 vermag dieses Problem zu lösen. Der Patch wird als fa0c0bd59b8588814756942fe4cb5452e76c1dcd bezeichnet. Als bestmögliche Massnahme wird das Einspielen eines Upgrades empfohlen."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-61 Symlink Following","cweId":"CWE-61"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"ReFirm Labs","product":{"product_data":[{"product_name":"binwalk","version":{"version_data":[{"version_value":"2.3.0","version_affected":"="},{"version_value":"2.3.1","version_affected":"="},{"version_value":"2.3.2","version_affected":"="}]}}]}}]}},"references":{"reference_data":[{"url":"https://vuldb.com/?id.216876","refsource":"MISC","name":"https://vuldb.com/?id.216876"},{"url":"https://vuldb.com/?ctiid.216876","refsource":"MISC","name":"https://vuldb.com/?ctiid.216876"},{"url":"https://github.com/ReFirmLabs/binwalk/pull/556","refsource":"MISC","name":"https://github.com/ReFirmLabs/binwalk/pull/556"},{"url":"https://github.com/ReFirmLabs/binwalk/commit/fa0c0bd59b8588814756942fe4cb5452e76c1dcd","refsource":"MISC","name":"https://github.com/ReFirmLabs/binwalk/commit/fa0c0bd59b8588814756942fe4cb5452e76c1dcd"},{"url":"https://github.com/ReFirmLabs/binwalk/releases/tag/v2.3.3","refsource":"MISC","name":"https://github.com/ReFirmLabs/binwalk/releases/tag/v2.3.3"}]},"impact":{"cvss":[{"version":"3.1","baseScore":5,"vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L","baseSeverity":"MEDIUM"},{"version":"3.0","baseScore":5,"vectorString":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L","baseSeverity":"MEDIUM"}]}},"nvd":{"publishedDate":"2022-12-27 11:15:00","lastModifiedDate":"2023-11-07 03:40:00","problem_types":["CWE-59"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.8,"impactScore":3.6}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:microsoft:binwalk:*:*:*:*:*:*:*:*","versionEndExcluding":"2.3.3","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}