CVE-2022-3008
Last modified
CVE-2022-3008 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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. EPSS estimates a 2.81% chance of exploitation in the next 30 days.
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
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Tinygltf Project | Tinygltf | < 2.6.0 |
| Debian | Debian Linux | 11.0 |
References
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=49053Exploit, Issue Tracking, Mailing List, Third Party Advisory
- https://github.com/syoyo/tinygltf/blob/master/README.mdProduct, Third Party Advisory
- https://github.com/syoyo/tinygltf/commit/52ff00a38447f06a17eab1caa2cf0730a119c751Patch, Third Party Advisory
- https://github.com/syoyo/tinygltf/issues/368Exploit, Issue Tracking, Patch, Third Party Advisory
- https://www.debian.org/security/2022/dsa-5232Third Party Advisory
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=49053Exploit, Issue Tracking, Mailing List, Third Party Advisory
- https://github.com/syoyo/tinygltf/blob/master/README.mdProduct, Third Party Advisory
- https://github.com/syoyo/tinygltf/commit/52ff00a38447f06a17eab1caa2cf0730a119c751Patch, Third Party Advisory
- https://github.com/syoyo/tinygltf/issues/368Exploit, Issue Tracking, Patch, Third Party Advisory
- https://www.debian.org/security/2022/dsa-5232Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-3008?
How severe is CVE-2022-3008?
How do I fix CVE-2022-3008?
Are you affected by CVE-2022-3008?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
