CVE-2022-3008

Public Exploit
Command Injection on tinygltf

Description

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

Categories

8.1
CVSS
Severity: High
CVSS 3.1 •
EPSS 7.38% Top 10%
Vendor Advisory debian.org
Affected: syoyo tinygltf
Published at:
Updated at:

References

Link Tags
https://github.com/syoyo/tinygltf/commit/52ff00a38447f06a17eab1caa2cf0730a119c751 third party advisory patch
https://github.com/syoyo/tinygltf/issues/368 issue tracking patch exploit third party advisory
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=49053 issue tracking mailing list exploit third party advisory
https://github.com/syoyo/tinygltf/blob/master/README.md third party advisory product
https://www.debian.org/security/2022/dsa-5232 third party advisory vendor advisory

Frequently Asked Questions

What is the severity of CVE-2022-3008?
CVE-2022-3008 has been scored as a high severity vulnerability.
How to fix CVE-2022-3008?
To fix CVE-2022-3008, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2022-3008 being actively exploited in the wild?
It is possible that CVE-2022-3008 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~7% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2022-3008?
CVE-2022-3008 affects syoyo tinygltf.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.