Description (CNA)
N3.js before 2.11.1 contains a regular expression denial of service vulnerability in the N3Lexer number pattern that backtracks quadratically on long digit runs. Attackers can supply untrusted Turtle or N3 input containing long runs of digits that do not end a number, blocking the Node.js event loop and causing denial of service.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| rdfjs / N3.js | affected 0 before 2.11.1; unaffected 2.11.1 |
CWE
CWE-1333
References
- https://github.com/rdfjs/N3.js/pull/760
- https://github.com/rdfjs/N3.js/commit/b1c497fddb02c4772d61916bd2634115f45f424d
- https://github.com/rdfjs/N3.js
- https://www.vulncheck.com/advisories/n3-js-before-2.11.1-redos-via-n3lexer-numeric-literal-regex
ADP enrichment
No English description supplied.
No references supplied.