Live threats

All CVEs / Ubi Reader Project

CVE-2023-0591Ubi Reader Project Ubi Reader

Medium 5.5

Priority
33
CVSS 3.1
5.5
EPSS
0.4%
probability of exploitation in 30 days · percentile 23
Auth required
Yes
Published
Jan 31, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ubi Reader.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI ubi-reader < 0.8.5 0.8.5 pip install "ubi-reader>=0.8.5"
PyPI ubi-reader < 0.8.5 0.8.5 pip install "ubi-reader>=0.8.5"

Per OSV / GitHub Advisories (GHSA-vp2x-3mc3-3cj4, PYSEC-2023-51). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
ubi_reader_projectubi_reader< 0.8.5

Official sources

References

Links published by the sources. Open them with care.