Asymmetric denial of service - ReDoS In node-lodash
Description
Regular Expression Denial of Service (ReDoS) in lodash
All versions of package lodash prior to 4.17.21 are vulnerable to Regular Expression Denial of Service (ReDoS) via the toNumber, trim and trimEnd functions.
Steps to reproduce (provided by reporter Liyuan Chen):
var lo = require('lodash'); function build_blank(n) { var ret = "1" for (var i = 0; i < n; i++) { ret += " " } return ret + "1";...
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Package | Affected version | Patched versions |
|---|---|---|---|
debian 14 | 4.17.21+dfsg+~cs8.31.173-1 | ||
npm | 4.18.0 | ||
rubygems | 4.17.21 | ||
npm | 4.17.21 | ||
npm | 4.17.21 | ||
npm | 4.18.0 | ||
debian 11 | 4.17.21+dfsg+~cs8.31.173-1 | ||
debian 12 | 4.17.21+dfsg+~cs8.31.173-1 | ||
debian 13 | 4.17.21+dfsg+~cs8.31.173-1 |
Aliases
1. 2. 3. 4. 5. 6.
References
1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12.