CVE-2022-3008

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
OS Command Injection
Command Injection
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
8.1 HIGH
NETWORK
LOW
LOW
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
GoogleCNA
8.1 HIGH
NETWORK
LOW
LOW
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 92%
Affected Products (NVD)
VendorProductVersion
tinygltf_projecttinygltf
𝑥
< 2.6.0
debiandebian_linux
11.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
tinygltf
bookworm
2.7.0+dfsg-2
fixed
bullseye
2.5.0+dfsg-3+deb11u1
fixed
bullseye (security)
2.5.0+dfsg-3+deb11u1
fixed
sid
2.8.20+dfsg-1
fixed
trixie
2.8.20+dfsg-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
tinygltf
bionic
dne
focal
dne
jammy
needs-triage
kinetic
ignored
lunar
ignored
mantic
ignored
noble
needs-triage
trusty
ignored
xenial
ignored