CVE-2022-3008

HIGHCVSS 8.8/10EPSS 2.81%

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
8.8/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

EPSS Probability
2.81%

84.7th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
Tinygltf ProjectTinygltf< 2.6.0
DebianDebian Linux11.0

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2022-3008?
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
How severe is CVE-2022-3008?
CVE-2022-3008 has a CVSS score of 8.8/10 (HIGH severity). The EPSS model estimates a 2.81% probability of exploitation in the next 30 days.
How do I fix CVE-2022-3008?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2022-3008?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST