CVE-2022-3008

Summary

CVECVE-2022-3008
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-09-05 09:15:00 UTC
Updated2022-10-01 02:17:00 UTC
DescriptionThe 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

Risk And Classification

Problem Types: CWE-77

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 11.0 All All All
Application Tinygltf Project Tinygltf All All All All

References

ReferenceSourceLinkTags
Command injection via wordexp call. · Issue #368 · syoyo/tinygltf · GitHub CONFIRM github.com
Do not expand file path since its not necessary for glTF asset path(U… · syoyo/tinygltf@52ff00a · GitHub CONFIRM github.com
49053 - oss-fuzz - OSS-Fuzz: Fuzzing the planet - Monorail CONFIRM bugs.chromium.org
Debian -- Security Information -- DSA-5232-1 tinygltf DEBIAN www.debian.org
tinygltf/README.md at master · syoyo/tinygltf · GitHub CONFIRM github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 181068 Debian Security Update for tinygltf (DSA 5232-1)
  • 182396 Debian Security Update for tinygltf (CVE-2022-3008)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report