RCE in Syoyo Tinygltf
CVE-2022-3008
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
Vulnerability class: Command Injection (OS Command Injection)
EPSS: 0.028 (84.9th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H.
Affected products
- Syoyo Tinygltf — versions unspecified
- Tinygltf_project Tinygltf
- Debian Debian_linux — versions 11.0
Weakness classification (CWE)
References
- cve-coordination@google.com (Patch, Third Party Advisory, x_refsource_MISC)
- cve-coordination@google.com (Exploit, Patch, Third Party Advisory, x_refsource_MISC, Issue Tracking)
- cve-coordination@google.com (Exploit, Mailing List, Third Party Advisory, x_refsource_MISC, Issue Tracking)
- cve-coordination@google.com (Product, Third Party Advisory, x_refsource_MISC)
- cve-coordination@google.com (vendor-advisory, Third Party Advisory, x_refsource_DEBIAN)
Frequently asked questions
- What is CVE-2022-3008?
- CVE-2022-3008 is a high-severity vulnerability in Syoyo Tinygltf, classified under OS Command Injection. CVSS score: 8.1/10. Published 2022-09-05.
- How severe is CVE-2022-3008?
- High severity. CVSS v3 base score is 8.1 out of 10.