CVE-2022-3008
Command Injection on tinygltf
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
2Exploited in Wild
-Decision
Descriptions
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
La biblioteca tinygltf usa la función de la biblioteca C wordexp() para llevar a cabo una expansión de la ruta del archivo en rutas no confiables que son proporcionadas desde el archivo de entrada. Esta función permite una inyección de comandos mediante el uso de signos de retroceso. Un atacante podría diseñar una ruta de entrada no confiable que resultaría en una expansión de ruta. Recomendamos actualizar a versión 2.6.0 o al commit 52ff00a38447f06a17eab1caa2cf0730a119c751
CVSS Scores
SSVC
- Decision:-
Timeline
- 2022-08-26 CVE Reserved
- 2022-09-05 CVE Published
- 2024-08-03 CVE Updated
- 2024-08-03 First Exploit
- 2024-10-01 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')
- CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
CAPEC
References (5)
URL | Tag | Source |
---|---|---|
https://github.com/syoyo/tinygltf/blob/master/README.md | Product |
URL | Date | SRC |
---|---|---|
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=49053 | 2024-08-03 | |
https://github.com/syoyo/tinygltf/issues/368 | 2024-08-03 |
URL | Date | SRC |
---|---|---|
https://github.com/syoyo/tinygltf/commit/52ff00a38447f06a17eab1caa2cf0730a119c751 | 2022-10-01 |
URL | Date | SRC |
---|---|---|
https://www.debian.org/security/2022/dsa-5232 | 2022-10-01 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Tinygltf Project Search vendor "Tinygltf Project" | Tinygltf Search vendor "Tinygltf Project" for product "Tinygltf" | < 2.6.0 Search vendor "Tinygltf Project" for product "Tinygltf" and version " < 2.6.0" | - |
Affected
| ||||||
Debian Search vendor "Debian" | Debian Linux Search vendor "Debian" for product "Debian Linux" | 11.0 Search vendor "Debian" for product "Debian Linux" and version "11.0" | - |
Affected
|