SCA: security update for ubi-reader (GHSA-vp2x-3mc3-3cj4)

medium Tenable Cloud Security Plugin ID 419433

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2023-0591)

See Also

https://github.com/advisories/GHSA-vp2x-3mc3-3cj4

Plugin Details

Severity: Medium

ID: 419433

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.51

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 4.9

Temporal Score: 3.8

Vector: CVSS2#AV:L/AC:L/Au:N/C:N/I:C/A:N

CVSS Score Source: CVE-2023-0591

CVSS v3

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 5

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

CVSS v4

Risk Factor: Medium

Base Score: 6.8

Threat Score: 5.4

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 1/31/2023

Vulnerability Publication Date: 1/31/2023

Reference Information

CVE: CVE-2023-0591

cwe: CWE-22