Command Injection in tinygltf - CVE-2022-3008

 

Command Injection in tinygltf - CVE-2022-3008

Published: September 22, 2022


Vulnerability identifier: #VU67574
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-3008
CWE-ID: CWE-77
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

tinygltf
Debian Linux
Ubuntu
libtinygltf-dev (Ubuntu package)
libtinygltf1d (Ubuntu package)
tinygltf (Debian package)

How to mitigate CVE-2022-3008

Install updates from vendor's website.

tinygltf - update to 2.6.0
libtinygltf-dev (Ubuntu package) - update to 2.5.0+dfsg-4ubuntu0.1
libtinygltf1d (Ubuntu package) - update to 2.5.0+dfsg-4ubuntu0.1
tinygltf (Debian package) - update to 2.5.0+dfsg-3+deb11u1

External References

Related Security Bulletins