CVE-2023-0591: Path Traversal in ubi_reader
Vulnerability summary
CVE-2023-0591 is a medium (CVSS 5.5) vulnerability in jrspruitt ubi_reader. EPSS estimates a 0.40% chance of exploitation in the next 30 days, higher than 36.5% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 31-01-2023PublishedVulnerability first disclosed.
- 26-03-2025Last modifiedVulnerability information updated.
Description
ubireader_extract_files is vulnerable to path traversal when run against specifically crafted UBIFS files, allowing the attacker to overwrite files outside of the extraction directory (provided the process has write access to that file or directory). This is due to the fact that a node name (dent_node.name) is considered trusted and joined to the extraction directory path during processing, then the node content is written to that joined path. By crafting a malicious UBIFS file with node names holding path traversal payloads (e.g. ../../tmp/outside.txt), it's possible to force ubi_reader to write outside of the extraction directory. This issue affects ubi-reader before 0.8.5.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · PypiEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
EPSS trend
Probability
0.40%
Chance of exploitation in the next 30 days
Percentile
37%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 0.39% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (onekey.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Jrspruitt1 product
- ubi_reader< 0.8.5
PyPI1 product
- ubi-reader< 0.8.5
Ubi_reader_project1 product
- ubi_reader< 0.8.5
3 vendors · 3 products
References
8 links- onekey.com/blog/security-advisory-remote-command-execution-in-binwalk/AdvisoryExploitThird Party Advisory