CVE-2022-4510
HIGH7.8EPSS 45.2%Path traversal in binwalk
發布日:2023/1/26修改日:2025/12/20
描述
A path traversal vulnerability was identified in ReFirm Labs binwalk from version 2.1.2b through 2.3.3 inclusive. By crafting a malicious PFS filesystem file, an attacker can get binwalk's PFS extractor to extract files at arbitrary locations when binwalk is run in extraction mode (-e option). Remote code execution can be achieved by building a PFS filesystem that, upon extraction, would extract a malicious binwalk module into the folder .config/binwalk/plugins. This vulnerability is associated with program files src/binwalk/plugins/unpfs.py. This issue affects binwalk from 2.1.2b through and including 2.3.3.
受影響套件(4)
- Debian/binwalkfrom 0, < 2.3.1+dfsg1-1+deb11u1
- Debian/binwalkfrom 0, < 2.1.2~git20180830+dfsg1-1+deb10u1
- Debian/binwalkfrom 0, < 2.3.1+dfsg1-1+deb11u1
- PyPI/binwalk>= 2.1.2b, <= 2.3.3
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
參考連結(6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2022-4510
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2022-4510
- PATCHhttps://github.com/ReFirmLabs/binwalk
- WEBhttps://github.com/ReFirmLabs/binwalk/pull/617
- WEBhttps://lists.debian.org/debian-lts-announce/2025/12/msg00022.html
- WEBhttps://security.gentoo.org/glsa/202309-07