OS command injection in tinygltf library



Published: 2022-09-22
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2022-3008
CWE-ID CWE-77
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
tinygltf
Universal components / Libraries / Libraries used by multiple products

Vendor Syoyo Fujita

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Command Injection

EUVDB-ID: #VU67574

Risk: High

CVSSv3.1:

CVE-ID: CVE-2022-3008

CWE-ID: CWE-77 - Improper Neutralization of Special Elements used in a Command ('Command Injection')

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary commands on the system.

The vulnerability exists due to insufficient parsing of user-supplied input within the wordexp() when handling file paths. A remote attacker can supply specially crafted string to the affected application and execute arbitrary OS commands on the system.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

tinygltf: 2.1.0 - 2.5.0


CPE2.3 External links

http://github.com/syoyo/tinygltf/issues/368
http://github.com/syoyo/tinygltf/blob/master/README.md
http://bugs.chromium.org/p/oss-fuzz/issues/detail?id=49053
http://github.com/syoyo/tinygltf/commit/52ff00a38447f06a17eab1caa2cf0730a119c751
http://www.debian.org/security/2022/dsa-5232

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?



###SIDEBAR###