CVE-2022-3008 Command Injection on tinygltf
HighCVSS 8.8
EPSS 3.1%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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
Upgrade path
7 packages: 6 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/tinygltf(Debian 12) | < 2.5.0+dfsg-5 | 2.5.0+dfsg-5 | Fixed |
| debian/tinygltf(Debian 13) | < 2.5.0+dfsg-5 | 2.5.0+dfsg-5 | Fixed |
| debian/tinygltf(Debian 14) | < 2.5.0+dfsg-5 | 2.5.0+dfsg-5 | Fixed |
| syoyo tinygltf | < 2.6.0 | 2.6.0 | Fixed |
| tinygltf project tinygltf | < 2.6.0 | 2.6.0 | Fixed |
| ubuntu/tinygltf(Ubuntu 22.04) | < 2.5.0+dfsg-4ubuntu0.1; = 2.5.0+dfsg-3build1; = 2.5.0+dfsg-4 | 2.5.0+dfsg-4ubuntu0.1 | Fixed |
| debian linux | = 11.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| syoyo tinygltf | < 2.6.0 | 2.6.0 |
| ubuntu/tinygltf(Ubuntu:22.04) | < 2.5.0+dfsg-4ubuntu0.1 | 2.5.0+dfsg-4ubuntu0.1 |
| tinygltf project tinygltf | < 2.6.0 | 2.6.0 |
| debian linux | = 11.0 | No fix listed |
| debian/tinygltf(Debian:12) | < 2.5.0+dfsg-5 | 2.5.0+dfsg-5 |
| debian/tinygltf(Debian:14) | < 2.5.0+dfsg-5 | 2.5.0+dfsg-5 |
| debian/tinygltf(Debian:13) | < 2.5.0+dfsg-5 | 2.5.0+dfsg-5 |
| ubuntu/tinygltf(Ubuntu:22.04) | = 2.5.0+dfsg-3build1 | No fix listed |
| ubuntu/tinygltf(Ubuntu:22.04) | = 2.5.0+dfsg-4 | No fix listed |
References
- Debian Security Tracker CVE-2022-3008 vendor-advisory
- github.com issue-tracking patch third-party-advisory
- github.com exploit issue-tracking patch third-party-advisory
- bugs.chromium.org exploit issue-tracking mailing-list third-party-advisory
- github.com issue-tracking product third-party-advisory
- DSA-5232 third-party-advisory vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- USN-7129-1 vendor-advisory
- www.cve.org issue-tracking
- bugs.debian.org issue-tracking