CVE-2023-0591

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.

Severity
MEDIUM
CVSS v3
5.5
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N · source cna
Exploit chance (EPSS)
0.402%
chance of exploitation in the next 30 days
higher than 35% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA SSVC decision points

Exploitationpoc
Automatableno
Technical impactpartial
Scored2025-03-26

Timeline

  1. 2023-01-31Published by the CNA09:18 UTC
  2. 2023-01-31GitHub advisory published (GHSA-vp2x-3mc3-3cj4)same day
  3. 2025-03-26CISA SSVC decision recorded785 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-vp2x-3mc3-3cj4, affected packages:

PackageVulnerable versionsFixed in
PyPI ubi-readerbefore 0.8.50.8.5

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
ubi_reader_project ubi_readerbefore 0.8.5fixed in 0.8.50.8.5

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources