Command Injection in tinygltf - CVE-2022-3008
Published: September 22, 2022
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
Debian Linux
Ubuntu
libtinygltf-dev (Ubuntu package)
libtinygltf1d (Ubuntu package)
tinygltf (Debian package)
How to mitigate CVE-2022-3008
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