UBI Reader UBIFS File output.py ubireader_extract_files path traversal
A vulnerability, which was classified as problematic, has been found in UBI Reader up to 0.8.0. Affected by this issue is the function ubireader_extract_files of the file ubireader/ubifs/output.py of the component UBIFS File Handler. The manipulation leads to path traversal. The attack may be launched remotely. Upgrading to version 0.8.5 is able to address this issue. The name of the patch is d5d68e6b1b9f7070c29df5f67fc060f579ae9139. It is recommended to upgrade the affected component. VDB-216146 is the identifier assigned to this vulnerability.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2022-4572
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 8 Nov 2026, 01:02 UTC · Revision 1
Source evidence
UBI Reader UBIFS File output.py ubireader_extract_files path traversal
core-osv · Original sourcePublished 17 Dec 2022, 00:00 UTC
A vulnerability, which was classified as problematic, has been found in UBI Reader up to 0.8.0. Affected by this issue is the function ubireader_extract_files of the file ubireader/ubifs/output.py of the component UBIFS File Handler. The manipulation leads to path traversal. The attack may be launched remotely. Upgrading to version 0.8.5 is able to address this issue. The name of the patch is d5d68e6b1b9f7070c29df5f67fc060f579ae9139. It is recommended to upgrade the affected component. VDB-216146 is the identifier assigned to this vulnerability.
osv:CVE-2022-4572
Complete source record
{
"id": "f97abce02486b90797e12d25773867279b437e44a6f57a41a627703d8f81be02",
"url": "https://osv.dev/vulnerability/CVE-2022-4572",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBI Reader UBIFS File output.py ubireader_extract_files path traversal",
"summary": "A vulnerability, which was classified as problematic, has been found in UBI Reader up to 0.8.0. Affected by this issue is the function ubireader_extract_files of the file ubireader/ubifs/output.py of the component UBIFS File Handler. The manipulation leads to path traversal. The attack may be launched remotely. Upgrading to version 0.8.5 is able to address this issue. The name of the patch is d5d68e6b1b9f7070c29df5f67fc060f579ae9139. It is recommended to upgrade the affected component. VDB-216146 is the identifier assigned to this vulnerability.",
"evidence": "osv:CVE-2022-4572",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2022-4572",
"aliases": [
"CVE-2022-4572",
"GHSA-hc37-84v3-8gmq",
"PYSEC-2022-43016"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/onekey-sec/ubi_reader",
"type": "GIT",
"events": [
{
"introduced": "c497401e95691cdb90ed5a20b274c7ec0a048883"
},
{
"fixed": "26c41bd1b63417e2eef07db2281b21f9a94d0fab"
},
{
"fixed": "d5d68e6b1b9f7070c29df5f67fc060f579ae9139"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0.5"
},
{
"last_affected": "0.5"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "0.8"
},
{
"last_affected": "0.8"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"fixed": "26c41bd1b63417e2eef07db2281b21f9a94d0fab"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v0.8.5-master"
},
{
"range": [
{
"fixed": "d5d68e6b1b9f7070c29df5f67fc060f579ae9139"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"0.5",
"0.8"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-4572.json"
}
}
],
"modified": "2026-10-28T02:30:52.454973932Z",
"provider": "osv",
"references": [
"https://github.com/jrspruitt/ubi_reader/releases/tag/v0.8.5-master",
"https://vuldb.com/?id.216146",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/4xxx/CVE-2022-4572.json",
"https://nvd.nist.gov/vuln/detail/CVE-2022-4572",
"https://github.com/jrspruitt/ubi_reader/commit/d5d68e6b1b9f7070c29df5f67fc060f579ae9139",
"https://github.com/jrspruitt/ubi_reader/pull/57"
],
"provider_metadata": {
"cwe_ids": [
"CWE-22"
],
"cna_assigner": "VulDB",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "0.1"
},
{
"last_affected": "0.1"
},
{
"introduced": "0.2"
},
{
"last_affected": "0.2"
},
{
"introduced": "0.3"
},
{
"last_affected": "0.3"
},
{
"introduced": "0.4"
},
{
"last_affected": "0.4"
},
{
"introduced": "0.6"
},
{
"last_affected": "0.6"
},
{
"introduced": "0.7"
},
{
"last_affected": "0.7"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/4xxx/CVE-2022-4572.json"
}
},
"related_cves": [
{
"value": "CVE-2022-4572",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 521176,
"published_at": "2022-12-17T00:00:00+00:00"
}