CVE-2022-3008

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-3008
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-3008.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-3008
Related
Published
2022-09-05T09:15:10Z
Modified
2025-01-15T02:20:43.186556Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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

References

Affected packages

Debian:11 / tinygltf

Package

Name
tinygltf
Purl
pkg:deb/debian/tinygltf?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.5.0+dfsg-3+deb11u1

Affected versions

2.*

2.5.0+dfsg-3

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / tinygltf

Package

Name
tinygltf
Purl
pkg:deb/debian/tinygltf?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.5.0+dfsg-5

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / tinygltf

Package

Name
tinygltf
Purl
pkg:deb/debian/tinygltf?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.5.0+dfsg-5

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/syoyo/tinygltf

Affected ranges

Type
GIT
Repo
https://github.com/syoyo/tinygltf
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

v2.*

v2.1.0
v2.2.0
v2.4.0
v2.5.0