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
Related
Published
2023-01-26T21:18:00Z
Modified
2025-01-13T10:23:23Z
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
[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:16.04:LTS / binwalk

Package

Name
binwalk
Purl
pkg:deb/ubuntu/binwalk@2.1.1-4?arch=source&distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.0.1+dfsg-1
2.0.1+dfsg-2
2.0.1+dfsg-3
2.1.1-1
2.1.1-2
2.1.1-3
2.1.1-4

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:18.04:LTS / binwalk

Package

Name
binwalk
Purl
pkg:deb/ubuntu/binwalk@2.1.1-16?arch=source&distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.1.1-16

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / binwalk

Package

Name
binwalk
Purl
pkg:deb/ubuntu/binwalk@2.2.0+dfsg1-1?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.1.2~git20180830+dfsg1-1
2.2.0+dfsg1-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / binwalk

Package

Name
binwalk
Purl
pkg:deb/ubuntu/binwalk@2.3.3+dfsg1-2?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.3.2+dfsg1-1
2.3.3+dfsg1-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / binwalk

Package

Name
binwalk
Purl
pkg:deb/ubuntu/binwalk@2.3.4+dfsg1-1?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.3.4+dfsg1-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2.3.4+dfsg1-1",
            "binary_name": "binwalk"
        },
        {
            "binary_version": "2.3.4+dfsg1-1",
            "binary_name": "python3-binwalk"
        }
    ]
}