-
CVSS Score
-| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| Microsoft.ChakraCore | nuget | < 1.8.2 | 1.8.2 |
The vulnerability stemmed from improper handling of the 'NameIsHidden' flag in function expression parsing. The patch removed code in Parse.cpp that set this flag when function names were shadowed, and eliminated the flag entirely in ptree.h. These changes fixed the incorrect bytecode generation that led to memory corruption. The removed code paths in AddDeclForPid and ParseFncNames directly manipulated the vulnerable flag, making them the root cause.