CVE-2022-4510

Source
https://cve.org/CVERecord?id=CVE-2022-4510
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-4510.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-4510
Aliases
Downstream
Related
Published
2023-01-25T12:25:14.811Z
Modified
2026-07-15T01:49:08.200351465Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Path Traversal in binwalk
Details

A path traversal vulnerability was identified in ReFirm Labs binwalk from version 2.1.2b through 2.3.3 included. 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 2.3.3 included.

Database specific
{
    "cna_assigner": "ONEKEY",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/4xxx/CVE-2022-4510.json",
    "cwe_ids": [
        "CWE-22"
    ]
}
References

Affected packages

Git / github.com/refirmlabs/binwalk

Affected ranges

Type
GIT
Repo
https://github.com/refirmlabs/binwalk
Events
Database specific
{
    "extracted_events": [
        {
            "introduced": "2.1.2b"
        },
        {
            "last_affected": "2.3.3"
        },
        {
            "introduced": "2.2.0"
        },
        {
            "fixed": "2.3.3"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "CPE_RANGE"
    ],
    "cpe": "cpe:2.3:a:microsoft:binwalk:*:*:*:*:*:*:*:*"
}

Affected versions

Other
python27
v2.*
v2.2.0
v2.3.0
v2.3.1
v2.3.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-4510.json"