Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
node-re2: String.prototype.replace(re2, template) aborts the Node process (uncatchable ToLocalChecked on empty MaybeLocal) when the result exceeds V8's max string length
Vulnerability Description
node-re2 provides RE2 regular expression bindings for Node.js. Prior to version 1.25.1, the WrappedRE2::Replace function built its replacement result and passed it to V8 using ToLocalChecked without checking for the empty MaybeLocal that V8 returns when the resulting string or buffer exceeds V8's maximum string length. When a global replace uses an output amplifying replacement template, the result can grow quadratically with the input size, and once the result exceeds V8's maximum string length, the unchecked ToLocalChecked call causes a fatal, uncatchable process abort instead of a catchable exception. This issue is fixed in version 1.25.1.
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Vulnerability Type
可达断言
Vulnerability Title
Eugene Lazutkin node-re2 异常处理不当漏洞
Vulnerability Description
WordPress Formidable Forms是WordPress基金会开源的一款表单创建插件。 Eugene Lazutkin node-re2 1.25.1之前版本存在异常处理不当漏洞,该漏洞源于WrappedRE2::Replace函数未检查V8返回的MaybeLocal,当替换结果超过V8最大字符串长度时可能导致进程崩溃。
CVSS Information
N/A
Vulnerability Type
N/A