UBUNTU-CVE-2022-3008

Source
https://ubuntu.com/security/CVE-2022-3008
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-3008.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2022-3008
Related
Published
2022-09-05T09:15:00Z
Modified
2025-01-13T10:23:19Z
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

Ubuntu:22.04:LTS / tinygltf

Package

Name
tinygltf
Purl
pkg:deb/ubuntu/tinygltf@2.5.0+dfsg-4ubuntu0.1?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.5.0+dfsg-4ubuntu0.1

Affected versions

2.*

2.5.0+dfsg-3build1
2.5.0+dfsg-4

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2.5.0+dfsg-4ubuntu0.1",
            "binary_name": "libtinygltf-dev"
        },
        {
            "binary_version": "2.5.0+dfsg-4ubuntu0.1",
            "binary_name": "libtinygltf1d"
        },
        {
            "binary_version": "2.5.0+dfsg-4ubuntu0.1",
            "binary_name": "libtinygltf1d-dbgsym"
        }
    ]
}