{"cve":"CVE-2021-21267","nvd":{"published":"2021-03-19T21:15:12.417","modified":"2026-06-17T03:35:09.537","status":"Modified","description":"Schema-Inspector is an open-source tool to sanitize and validate JS objects (npm package schema-inspector). In before version 2.0.0, email address validation is vulnerable to a denial-of-service attack where some input (for example `a@0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.`) will freeze the program or web browser page executing the code. This affects any current schema-inspector users using any version to validate email addresses. Users who do not do email validation, and instead do other types of validation (like string min or max length, etc), are not affected. Users should upgrade to version 2.0.0, which uses a regex expression that isn't vulnerable to ReDoS.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-20","CWE-400"],"references":["https://gist.github.com/mattwelke/b7f42424680a57b8161794ad1737cd8f","https://github.com/schema-inspector/schema-inspector/security/advisories/GHSA-f38p-c2gq-4pmr","https://security.netapp.com/advisory/ntap-20210528-0006/","https://www.npmjs.com/package/schema-inspector","https://gist.github.com/mattwelke/b7f42424680a57b8161794ad1737cd8f"],"products":["netapp:e-series_performance_analyzer","netapp:oncommand_insight","schema-inspector_project:schema-inspector"],"source":"nvd","synced_at":"2026-10-19T21:15:50.279857260+00:00"},"epss":{"cve":"CVE-2021-21267","score":0.0209,"percentile":0.81617,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-f38p-c2gq-4pmr","url":"https://osv.dev/vulnerability/GHSA-f38p-c2gq-4pmr","summary":"Regular Expression Denial-of-Service in npm schema-inspector","modified":"2026-07-08T06:28:37.936103558Z","packages":[{"ecosystem":"npm","name":"schema-inspector","purl":"pkg:npm/schema-inspector","ranges":["<2.0.0"],"fixed":["2.0.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}