Regular Expression Denial of Service (ReDoS) in lodash
Moderate severity
GitHub Reviewed
Published
Jan 6, 2022
to the GitHub Advisory Database
•
Updated Nov 1, 2023
Description
Published by the National Vulnerability Database
Feb 15, 2021
Reviewed
Mar 19, 2021
Published to the GitHub Advisory Database
Jan 6, 2022
Last updated
Nov 1, 2023
All versions of package lodash prior to 4.17.21 are vulnerable to Regular Expression Denial of Service (ReDoS) via the
toNumber
,trim
andtrimEnd
functions.Steps to reproduce (provided by reporter Liyuan Chen):
References