Advisory

UBUNTU-CVE-2022-3008

Also known as: CVE-2022-3008

Summary

The record has no summary.

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

Severity

High Basis: CVSS v3 score 8.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Dates

Published
2022-09-05 09:15 UTC
Modified
2026-04-22 13:22 UTC

Affected packages and fixes

tinygltf

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 2.5.0+dfsg-4ubuntu0.1 (ecosystem)

Fixed versions

2.5.0+dfsg-4ubuntu0.1

Fix

  • Fixed version 2.5.0+dfsg-4ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences