RCE in Syoyo Tinygltf
CVE-2022-3008
- CVSS v3
- 8.1 High
- Public exploits
- None known
- EPSS
- 0.031 · 88.1th percentile
- Published
- 2022-09-05
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)
Published · last modified .
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.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- None
I:N - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.031, 88.1th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Syoyo Tinygltf — versions unspecified
- Tinygltf Project
- Debian Linux — versions 11.0
Weakness classification (CWE)
References
- github.com/syoyo/tinygltf/commit/52ff00a38447f06a17eab1caa2cf0730a119c751 (Patch, Third Party Advisory)
- github.com/syoyo/tinygltf/issues/368 (Exploit, Patch, Third Party Advisory, Issue Tracking)
- bugs.chromium.org/p/oss-fuzz/issues/detail (Exploit, Mailing List, Third Party Advisory, Issue Tracking)
- github.com/syoyo/tinygltf/blob/master/README.md (Product, Third Party Advisory)
- DSA-5232 (vendor-advisory, Third Party Advisory)