hjson-js icon indicating copy to clipboard operation
hjson-js copied to clipboard

hjson-js stack exhaustion vulnerability

Open scacaca opened this issue 9 months ago • 0 comments

Summary

A DOS vulnerability in hjson-js caused by crafted objects that deeply nested structures.

Description

An issue was discovered in the latest hjson-js allows attackers to cause a denial of service or other unspecified impacts via crafted objects that deeply nested structures. there is a similar vulnerable,but hjson-js has not similar fix logic. The relevent code in file1 Eg. function array(),function value(),function object()

Patch

there is a similar fix logic

Thanks

Thanks to YangChao Liu ([email protected])

scacaca avatar Mar 16 '25 07:03 scacaca