Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
The probability is the direct output of the EPSS model, and conveys an overall sense of the threat of exploitation in the wild. The percentile measures the EPSS probability relative to all known EPSS scores. Note: This data is updated daily, relying on the latest available EPSS model version. Check out the EPSS documentation for more details.
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 applicationsThere is no fixed version for nothings/stb
.
Affected versions of this package are vulnerable to Out-of-bounds Write in the f->vendor[len] = (char)'\0';
function. An attacker can trigger an out-of-bounds write and potentially execute arbitrary code by providing a crafted file. This is only exploitable if len
read in start_decoder
is a negative number and setup_malloc
successfully allocates memory in that case, but memory write is done with a negative index len
. Similarly if len is INT_MAX the integer overflow len+1 happens in f->vendor = (char*)setup_malloc(f, sizeof(char) * (len+1));
and f->comment_list[i] = (char*)setup_malloc(f, sizeof(char) * (len+1));
.