ubuntu-cve-2022-4510
Vulnerability from osv_ubuntu
Published
2023-01-26 21:18
Modified
2025-10-24 04:53
Summary
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.
Severity
7.8 (High)
7.8 (High)
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "binwalk",
"binary_version": "2.1.1-4"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "binwalk",
"purl": "pkg:deb/ubuntu/binwalk@2.1.1-4?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"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": {
"binaries": [
{
"binary_name": "binwalk",
"binary_version": "2.1.1-16"
},
{
"binary_name": "python3-binwalk",
"binary_version": "2.1.1-16"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "binwalk",
"purl": "pkg:deb/ubuntu/binwalk@2.1.1-16?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.1.1-16"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "binwalk",
"binary_version": "2.2.0+dfsg1-1"
},
{
"binary_name": "python3-binwalk",
"binary_version": "2.2.0+dfsg1-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "binwalk",
"purl": "pkg:deb/ubuntu/binwalk@2.2.0+dfsg1-1?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.1.2~git20180830+dfsg1-1",
"2.2.0+dfsg1-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "binwalk",
"binary_version": "2.3.3+dfsg1-2"
},
{
"binary_name": "python3-binwalk",
"binary_version": "2.3.3+dfsg1-2"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "binwalk",
"purl": "pkg:deb/ubuntu/binwalk@2.3.3+dfsg1-2?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.3.2+dfsg1-1",
"2.3.3+dfsg1-2"
]
}
],
"aliases": [],
"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\u0027s 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,\u00a0would 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.",
"id": "UBUNTU-CVE-2022-4510",
"modified": "2025-10-24T04:53:18Z",
"published": "2023-01-26T21:18:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2022-4510"
},
{
"type": "REPORT",
"url": "https://github.com/ReFirmLabs/binwalk/pull/617"
},
{
"type": "REPORT",
"url": "https://github.com/ReFirmLabs/binwalk/commit/696fe34ed680ffd951bfeca737feb4a0b98dde5c"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2022-4510"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2022-4510"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…