PT-2022-7691 · Tinygltf+2 · Tinygltf+2

Oliverchang

·

Published

2022-09-05

·

Updated

2024-11-26

·

CVE-2022-3008

CVSS v2.0

10

High

VectorAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions tinygltf versions prior to 2.6.0
Description The tinygltf library has an issue related to the use of the C library function wordexp() for file path expansion on untrusted paths from input files. This allows for command injection using backticks. An attacker could craft a malicious path input to exploit this, potentially leading to arbitrary code execution by sending specially formed commands.
Recommendations For versions prior to 2.6.0, upgrade to version 2.6.0 or apply the changes from commit 52ff00a38447f06a17eab1caa2cf0730a119c751 to resolve the issue. As a temporary workaround, consider restricting the use of the wordexp() function until a patch is applied.

Exploit

Fix

OS Command Injection

Command Injection

Weakness Enumeration

Related Identifiers

BDU:2024-10529
CVE-2022-3008
DSA-5232-1
USN-7129-1

Affected Products

Linuxmint
Ubuntu
Tinygltf