Technical impact
Seroval, a JavaScript value stringification library, contains a flaw in its fromJSON and fromCrossJSON functions. These functions accept an array node’s element list without ensuring it is an actual array, allowing an attacker to provide a crafted length field that controls memory allocation and decoder iterations. The result is that an unauthenticated process can be made to consume excessive memory or stall threads, leading to a denial of service.
Affected Systems
The Seroval library distributed by lxsmnsyc, versions 1.4.1 through 1.6.7, is affected. Any application that parses untrusted data using these versions is at risk. The vulnerability is fixed in version 1.6.8.
Risk and Exploitability
The CVSS score of 7.5 indicates a high severity threat, and the lack of a valid EPSS score or KEV listing suggests the exploitation probability is not currently quantified. The most likely attack vector is an unauthenticated remote request that includes a malicious payload; this inference follows from the description of the vulnerability and the fact that the denial of service can be triggered without authentication.
Github GHSA