Description (CNA)
node-re2 provides RE2 regular expression bindings for Node.js. Prior to version 1.26.1, passing a Buffer whose final bytes form a truncated (incomplete) multi-byte UTF-8 sequence could cause the native binding to read past the end of the allocated buffer while attempting to decode the final, incomplete code point. This could result in an out-of-bounds read and potential disclosure of adjacent memory contents. This issue is fixed in version 1.26.1.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| uhop / node-re2 | affected < 1.26.1 |
CWE
CWE-125
References
- https://github.com/uhop/node-re2/security/advisories/GHSA-j4r3-hg7j-8chg
- https://github.com/uhop/node-re2/issues/272
- https://github.com/uhop/node-re2/commit/9d72042a6a0da5bc523908b04808ea0e23867cc4
ADP enrichment
No English description supplied.