{"id":"CVE-2022-4572","published":"2022-12-17T00:00:00Z","modified":"2025-04-15T13:01:40Z","title":"UBI Reader UBIFS File output.py ubireader_extract_files path traversal","vendor":"unspecified","product":"UBI Reader","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00588,"percentile":0.49049,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/jrspruitt/ubi_reader/pull/57","tags":[]},{"url":"https://github.com/jrspruitt/ubi_reader/releases/tag/v0.8.5-master","tags":[]},{"url":"https://github.com/jrspruitt/ubi_reader/commit/d5d68e6b1b9f7070c29df5f67fc060f579ae9139","tags":[]},{"url":"https://vuldb.com/?id.216146","tags":[]}],"priority":{"score":13.6,"factors":[{"name":"EPSS percentile","points":9.81},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"unspecified","affectedVersions":[{"vendor":"unspecified","product":"UBI Reader","versions":["0.1","0.2","0.3","0.4","0.5","0.6","0.7","0.8"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-14T17:03:00.399580Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"ubi-reader","vulnerableRanges":["<0.8.5","<0.8.2"],"patched":["0.8.5","0.8.2"],"from":["GHSA-hc37-84v3-8gmq","PYSEC-2022-43016"],"provenance":"source"}],"summary":{"text":"UBI Reader, a tool for extracting UBIFS file systems, contains a path traversal flaw in the ubireader_extract_files function of its ubireader/ubifs/output.py module, within the UBIFS File Handler component, through version 0.8.0. An attacker who can get a crafted UBIFS image processed by the tool can write files outside the intended extraction directory, and the attack can be launched remotely, though exploiting it requires a user to take action such as running the extraction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:44:11Z"},"euvd":{"id":"EUVD-2022-0347","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-4572","published":"2022-12-17","fixed":"0.8.5","kev":false},{"cve":"CVE-2023-0591","published":"2023-01-31","fixed":"0.8.5","kev":false,"link":{"from":"CVE-2022-4572","to":"CVE-2023-0591","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:ubi-reader","fromFixed":"0.8.2","toFixed":"0.8.5","daysApart":45},{"kind":"similar","provenance":"machine","score":0.38,"basis":"same package + description similarity"}]}}],"package":"PyPI:ubi-reader"}}