HIGH7.5
GHSA-f522-ffg8-j8r6
Regular Expression Denial of Service in is-my-json-valid
Quick fix
GHSA-f522-ffg8-j8r6 — is-my-json-valid: upgrade to the fixed version with the command below.
npm install is-my-json-valid@2.12.4Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
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]