PT-2020-19779 · Express · Express-Validators
Yeting Li
·
Published
2020-11-11
·
Updated
2021-07-21
·
CVE-2020-7767
CVSS v3.1
5.3
Medium
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Name of the Vulnerable Software and Affected Versions
express-validators versions all
Description
The issue concerns a Regular Expression Denial of Service (ReDoS) that occurs when validating specifically-crafted invalid URLs. This can happen in all versions of the express-validators package.
Recommendations
For express-validators versions all, consider disabling the URL validation function until a patch is available to prevent potential ReDoS attacks. Restrict access to the validation module to minimize the risk of exploitation. Avoid using the express-validators package for URL validation until the issue is resolved.
Exploit
Fix
Resource Exhaustion
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Express-Validators