GitHub Advisoryadvisory · npm
GHSA-f522-ffg8-j8r6 Regular Expression Denial of Service in is-my-json-valid
HIGH
Official page ↗
- Aliases
- CVE-2016-2537
- Ecosystem
- npm
- Packages
- is-my-json-valid
- Severity
- High
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-1333
- Reviewed
- 2020-06-16
Affected packages
• npm is-my-json-valid: < 2.12.4 → fixed in 2.12.4
Description
Version of `is-my-json-valid` before 2.12.4 are vulnerable to regular expression denial of service (ReDoS) via the email validation function.
Recommendation
Update to version 2.12.4 or later.
Related
Alias · CVE (1)
- CVE-2016-2537 The is-my-json-valid package before 2.12.4 for Node.js has an incorrect exports['utc-millisec'] regular expression, which allows remote… vulnerability
Weakness · CWE (1)
- CWE-1333 Inefficient Regular Expression Complexity weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2016-2537 advisory
- https://github.com/github/advisory-database/pull/4850 web
- https://github.com/mafintosh/is-my-json-valid/pull/159 web
- https://github.com/mafintosh/is-my-json-valid/commit/b3051b277f7caa08cd2edc6f74f50aeda65d2976 web
- https://github.com/mafintosh/is-my-json-valid/commit/eca4beb21e61877d76fdf6bea771f72f39544d9b web
- https://hackerone.com/reports/317548 web
- https://github.com/advisories/GHSA-f522-ffg8-j8r6 advisory
- https://github.com/mafintosh/is-my-json-valid package
- https://www.npmjs.com/advisories/572 web
- https://www.npmjs.com/advisories/76 web