CVE-2022-3008
Tinygltf Project Tinygltf vulnerability
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
Affected products
Tinygltf, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Tinygltf Project Tinygltf runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/syoyo/tinygltf/commit/52ff00a38447f06a17eab1caa2cf0730a119c751 · Patch
- github.com/syoyo/tinygltf/issues/368 · Exploit
- bugs.chromium.org/p/oss-fuzz/issues/detail?id=49053 · Exploit
- github.com/syoyo/tinygltf/blob/master/README.md · Third Party Advisory
- www.debian.org/security/2022/dsa-5232 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2022-3008
- cve.org/CVERecord?id=CVE-2022-3008
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.