UBUNTU-CVE-2022-4510

Source
https://ubuntu.com/security/CVE-2022-4510
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-4510.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2022-4510
Upstream
Downstream
Related
Published
2023-01-26T21:18:00Z
Modified
2026-11-18T07:15:12Z
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
  • 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
  • Ubuntu - medium
Summary
[none]
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.

References

Affected packages

Ubuntu:Pro:20.04:LTS / binwalk

Package

Name
binwalk
Purl
pkg:deb/ubuntu/binwalk?arch=source&distro=esm-apps%2Ffocal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.2.0+dfsg1-1ubuntu0.1~esm1

Affected versions

2.*
2.1.2~git20180830+dfsg1-1
2.2.0+dfsg1-1

Ecosystem specific

{
    "availability":  "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries":  [
        {
            "binary_name":  "binwalk",
            "binary_version":  "2.2.0+dfsg1-1ubuntu0.1~esm1"
        },
        {
            "binary_name":  "python3-binwalk",
            "binary_version":  "2.2.0+dfsg1-1ubuntu0.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-4510.json"

Ubuntu:Pro:22.04:LTS / binwalk

Package

Name
binwalk
Purl
pkg:deb/ubuntu/binwalk?arch=source&distro=esm-apps%2Fjammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.3.3+dfsg1-2ubuntu0.1~esm1

Affected versions

2.*
2.3.2+dfsg1-1
2.3.3+dfsg1-2

Ecosystem specific

{
    "availability":  "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries":  [
        {
            "binary_name":  "binwalk",
            "binary_version":  "2.3.3+dfsg1-2ubuntu0.1~esm1"
        },
        {
            "binary_name":  "python3-binwalk",
            "binary_version":  "2.3.3+dfsg1-2ubuntu0.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-4510.json"