8.8
HIGH
CVE-2022-3008
TinyGltf Command Injection 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

INFO

Published Date :

Sept. 5, 2022, 9:15 a.m.

Last Modified :

Oct. 1, 2022, 2:17 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

2.8
Affected Products

The following products are affected by CVE-2022-3008 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Debian debian_linux
1 Tinygltf_project tinygltf
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2022-3008.

URL Resource
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=49053 Exploit Issue Tracking Mailing List Third Party Advisory
https://github.com/syoyo/tinygltf/blob/master/README.md Product Third Party Advisory
https://github.com/syoyo/tinygltf/commit/52ff00a38447f06a17eab1caa2cf0730a119c751 Patch Third Party Advisory
https://github.com/syoyo/tinygltf/issues/368 Exploit Issue Tracking Patch Third Party Advisory
https://www.debian.org/security/2022/dsa-5232 Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-3008 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-3008 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Oct. 01, 2022

    Action Type Old Value New Value
    Changed Reference Type https://www.debian.org/security/2022/dsa-5232 No Types Assigned https://www.debian.org/security/2022/dsa-5232 Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Sep. 22, 2022

    Action Type Old Value New Value
    Added Reference https://www.debian.org/security/2022/dsa-5232 [No Types Assigned]
  • Initial Analysis by [email protected]

    Sep. 09, 2022

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
    Changed Reference Type https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=49053 No Types Assigned https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=49053 Exploit, Issue Tracking, Mailing List, Third Party Advisory
    Changed Reference Type https://github.com/syoyo/tinygltf/blob/master/README.md No Types Assigned https://github.com/syoyo/tinygltf/blob/master/README.md Product, Third Party Advisory
    Changed Reference Type https://github.com/syoyo/tinygltf/commit/52ff00a38447f06a17eab1caa2cf0730a119c751 No Types Assigned https://github.com/syoyo/tinygltf/commit/52ff00a38447f06a17eab1caa2cf0730a119c751 Patch, Third Party Advisory
    Changed Reference Type https://github.com/syoyo/tinygltf/issues/368 No Types Assigned https://github.com/syoyo/tinygltf/issues/368 Exploit, Issue Tracking, Patch, Third Party Advisory
    Added CWE NIST CWE-77
    Added CPE Configuration OR *cpe:2.3:a:tinygltf_project:tinygltf:*:*:*:*:*:*:*:* versions up to (excluding) 2.6.0
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-3008 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

1.04 }} 0.31%

score

0.84248

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability