Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2022-3008— Command Injection on tinygltf

Quick assessment

Affected
syoyo tinygltf
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

tinygltf是日本Syoyo Fujita个人开发者的一个仅标头 C++ 微型 glTF 库(加载器/保存器)。 tinygltf 2.6.0之前版本存在安全漏洞,该漏洞源于C 库函数 wordexp() 对输入文件提供的不受信任路径执行文件路径扩展,此函数允许使用反引号进行命令注入,攻击者利用该漏洞可以制作不可信的路径输入,从而导致路径扩展。

CVSS 8.1 · High EPSS 3.03% · P87

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-3008

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Command Injection on tinygltf
Source: CVE Program / CVE List V5
Vulnerability 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
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: CVE Program / CVE List V5
Vulnerability Title
tinygltf 命令注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
tinygltf是日本Syoyo Fujita个人开发者的一个仅标头 C++ 微型 glTF 库(加载器/保存器)。 tinygltf 2.6.0之前版本存在安全漏洞,该漏洞源于C 库函数 wordexp() 对输入文件提供的不受信任路径执行文件路径扩展,此函数允许使用反引号进行命令注入,攻击者利用该漏洞可以制作不可信的路径输入,从而导致路径扩展。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
syoyo tinygltf unspecified ~ 2.6.0 -

II. Public POCs for CVE-2022-3008

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-3008

请登录查看更多情报信息。

Patches & Fixes for CVE-2022-3008 (1)

Vendor Advisories for CVE-2022-3008 (1)

Other References for CVE-2022-3008 (3)

IV. Related Vulnerabilities

V. Comments for CVE-2022-3008

No comments yet


Leave a comment