Use of Uninitialized Resource Affecting nothings/stb package, versions [0,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.07% (34th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-NOTHINGSSTB-6026556
  • published22 Oct 2023
  • disclosed21 Oct 2023
  • creditUnknown

Introduced: 21 Oct 2023

CVE-2023-45663  (opens in a new tab)
CWE-908  (opens in a new tab)

How to fix?

There is no fixed version for nothings/stb.

Overview

Affected versions of this package are vulnerable to Use of Uninitialized Resource in the stbi__hdr_load and stbi__tga_load functions. An attacker can read a specified number of bytes from context into an uninitialized buffer by manipulating the file stream to point to the end. This is only exploitable if the file stream points to the end and the attacker controls the size of the uninitialized buffer.

CVSS Scores

version 3.1