🛡️ CVE-2022-3008 on Debian — 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
Distribution advisory
This page covers CVE-2022-3008 as tracked by Debian, for the package tinygltf. The fix is available in version 2.5.0+dfsg-5; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. A user must be tricked into taking some action. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability high.
Weakness class
DEBIAN-CVE-2022-3008 is classified as CWE-78: OS Command Injection. Untrusted input reaches a shell command without neutralisation, so an attacker can run arbitrary operating system commands.
Affected software
DEBIAN-CVE-2022-3008 is recorded against 1 package.
- tinygltf (fixed in 2.5.0+dfsg-5)
Timeline and source
Published on 5 September 2022 and last revised on 4 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2022-3008 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| tinygltf | — | 2.5.0+dfsg-5 |
References
Similar Threats
- Unknown USN-7129-1
- Unknown DSA-5232-1
- High CVE-2022-3008
- Unknown UBUNTU-CVE-2022-3008
Site Security Check
Is tinygltf part of your stack?
DEBIAN-CVE-2022-3008 is rated CVSS 8.1 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.