CVE-2022-3008

Command Injection on tinygltf

Published Sep 5, 2022 CVSS 3.1 · 8.1 High EPSS 3.1% KEV · Not listed
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

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-5232-1 tinygltf security update
EUVD EUVD EUVD-2022-42444 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
Ubuntu USN Ubuntu USN USN-7129-1 TinyGLTF vulnerability
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses
  • CWE-77

    Improper Neutralization of Special Elements used in a Command ('Command Injection')

  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
Google
Published
Updated
Apr 21, 2025, 1:50 PM
Reserved
Aug 26, 2022, 12:00 AM
Status
Modified
Published
Sep 5, 2022, 9:15 AM
Modified
Jun 17, 2026, 4:58 AM