{"api_version":"1","generated_at":"2026-07-24T21:08:12+00:00","cve":"CVE-2022-3008","urls":{"html":"https://cve.report/CVE-2022-3008","api":"https://cve.report/api/cve/CVE-2022-3008.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-3008","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-3008"},"summary":{"title":"CVE-2022-3008","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","state":"PUBLIC","assigner":"security@google.com","published_at":"2022-09-05 09:15:00","updated_at":"2022-10-01 02:17:00"},"problem_types":["CWE-77"],"metrics":[],"references":[{"url":"https://github.com/syoyo/tinygltf/issues/368","name":"N/A","refsource":"CONFIRM","tags":[],"title":"Command injection via wordexp call.  · Issue #368 · syoyo/tinygltf · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/syoyo/tinygltf/commit/52ff00a38447f06a17eab1caa2cf0730a119c751","name":"N/A","refsource":"CONFIRM","tags":[],"title":"Do not expand file path since its not necessary for glTF asset path(U… · syoyo/tinygltf@52ff00a · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=49053","name":"N/A","refsource":"CONFIRM","tags":[],"title":"49053 - \n \n \n oss-fuzz -\n \n \n OSS-Fuzz: Fuzzing the planet - \n \n Monorail","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.debian.org/security/2022/dsa-5232","name":"DSA-5232","refsource":"DEBIAN","tags":[],"title":"Debian -- Security Information -- DSA-5232-1 tinygltf","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/syoyo/tinygltf/blob/master/README.md","name":"N/A","refsource":"CONFIRM","tags":[],"title":"tinygltf/README.md at master · syoyo/tinygltf · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-3008","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-3008","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"3008","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"11.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"3008","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"tinygltf_project","cpe5":"tinygltf","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2022-3008","qid":"181068","title":"Debian Security Update for tinygltf (DSA 5232-1)"},{"cve":"CVE-2022-3008","qid":"182396","title":"Debian Security Update for tinygltf (CVE-2022-3008)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security@google.com","ID":"CVE-2022-3008","STATE":"PUBLIC","TITLE":"Command Injection on tinygltf"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"tinygltf","version":{"version_data":[{"version_affected":"<","version_value":"2.6.0"}]}}]},"vendor_name":"syoyo"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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"}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-78 OS Command Injection"}]}]},"references":{"reference_data":[{"refsource":"MISC","url":"https://github.com/syoyo/tinygltf/commit/52ff00a38447f06a17eab1caa2cf0730a119c751","name":"https://github.com/syoyo/tinygltf/commit/52ff00a38447f06a17eab1caa2cf0730a119c751"},{"refsource":"MISC","url":"https://github.com/syoyo/tinygltf/issues/368","name":"https://github.com/syoyo/tinygltf/issues/368"},{"refsource":"MISC","url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=49053","name":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=49053"},{"refsource":"MISC","url":"https://github.com/syoyo/tinygltf/blob/master/README.md","name":"https://github.com/syoyo/tinygltf/blob/master/README.md"},{"refsource":"DEBIAN","name":"DSA-5232","url":"https://www.debian.org/security/2022/dsa-5232"}]},"source":{"discovery":"INTERNAL"}},"nvd":{"publishedDate":"2022-09-05 09:15:00","lastModifiedDate":"2022-10-01 02:17:00","problem_types":["CWE-77"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:tinygltf_project:tinygltf:*:*:*:*:*:*:*:*","versionEndExcluding":"2.6.0","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}