GitHub Advisoryadvisory · PyPI

GHSA-8m3f-g62j-3vx8 binwalk vulnerable to UNIX Symbolic Link (Symlink) Following

MEDIUM Published 2022-12-27 Modified 2023-01-19 Official page ↗
Aliases
CVE-2021-4287
Ecosystem
PyPI
Packages
binwalk
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Weaknesses
CWE-59, CWE-61
Reviewed
2022-12-30

Affected packages

• PyPI binwalk: < 2.3.3 → fixed in 2.3.3

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 can 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.

Related

Alias · CVE (1)

  • CVE-2021-4287 A vulnerability, which was classified as problematic, was found in ReFirm Labs binwalk up to 2.3.2. vulnerability

Weakness · CWE (2)

  • CWE-59 Improper Link Resolution Before File Access weakness
  • CWE-61 UNIX Symbolic Link (Symlink) Following weakness

References