CVEvulnerability
CVE-2022-3008
8.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2022-09-05
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 8.1 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- CVSS 3.1 ([email protected])
- 8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-77, CWE-78
Description
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 configurations
• tinygltf project tinygltf (< 2.6.0)
• debian debian linux 11.0
Related
References
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=49053 Exploit, Issue Tracking, Mailing List, Third Party Advisory
- https://github.com/syoyo/tinygltf/blob/master/README.md Product, Third Party Advisory
- https://github.com/syoyo/tinygltf/commit/52ff00a38447f06a17eab1caa2cf0730a119c751 Patch, Third Party Advisory
- https://github.com/syoyo/tinygltf/issues/368 Exploit, Issue Tracking, Patch, Third Party Advisory
- https://www.debian.org/security/2022/dsa-5232 Third Party Advisory
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=49053 Exploit, Issue Tracking, Mailing List, Third Party Advisory
- https://github.com/syoyo/tinygltf/blob/master/README.md Product, Third Party Advisory
- https://github.com/syoyo/tinygltf/commit/52ff00a38447f06a17eab1caa2cf0730a119c751 Patch, Third Party Advisory
- https://github.com/syoyo/tinygltf/issues/368 Exploit, Issue Tracking, Patch, Third Party Advisory
- https://www.debian.org/security/2022/dsa-5232 Third Party Advisory