The tinygltf library uses the C library function wordexp(...
High severity
Unreviewed
Published
Sep 6, 2022
to the GitHub Advisory Database
•
Updated Jan 31, 2023
Description
Published by the National Vulnerability Database
Sep 5, 2022
Published to the GitHub Advisory Database
Sep 6, 2022
Last updated
Jan 31, 2023
The tinygltf library uses the C library function wordexp() to perform file path expansion on untrusted paths that are provided from the input file. This function allows for command injection by using backticks. An attacker could craft an untrusted path input that would result in a path expansion. We recommend upgrading to 2.6.0 or past commit 52ff00a38447f06a17eab1caa2cf0730a119c751
References