Skip to main content
← All vulnerabilities
CVE-2022-3008

Command Injection on tinygltf

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.6.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • syoyo tinygltf

    fixed in 2.6.0

References 5

GitHub · syoyo/tinygltf

bugs.chromium.org

debian.org