You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
only JSI_OT_REGEXP field is set. The re expr /test/ is not assigned to the RegExp object in here or later. So, the RegExp object is incomplete. However, in following operations, the code assumes the RegExp object is complete, which causes the null-ptr dereference.
ISec Lab.
The text was updated successfully, but these errors were encountered:
version: jsish 3.5.0
os: ubuntu 20.04
crash: segment fault caused by a null-ptr dereference
poc1:
poc2:
My fuzzer finds those crashes, and I notice the latest fix. But, the fix seems to be incorrect. In poc1, when the
RegExp
is created:jsish/src/jsiRegexp.c
Lines 150 to 154 in 4e5066c
only JSI_OT_REGEXP field is set. The re expr
/test/
is not assigned to theRegExp
object in here or later. So, theRegExp
object is incomplete. However, in following operations, the code assumes theRegExp
object is complete, which causes the null-ptr dereference.ISec Lab.
The text was updated successfully, but these errors were encountered: