{"schemaVersion":3,"id":"CVE-2021-21267","aliases":["GHSA-f38p-c2gq-4pmr"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2021-03-19T20:25:13.000Z","modified":"2024-08-03T18:09:14.989Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0209,"percentile":0.8133,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.0209},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0209,"percentile":0.8133}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0209,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0209,"percentile":0.8133}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_SCHEMA-INSPECTOR_SCHEMA-INSPECTOR","name":"Schema Inspector","source":"github","url":"https://github.com/schema-inspector/schema-inspector/security/advisories/GHSA-f38p-c2gq-4pmr","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"GITHUB_MATTWELKE_B7F42424680A57B8161794AD1737CD8F","name":"B7F42424680A57B8161794Ad1737Cd8F","source":"github","url":"https://gist.github.com/mattwelke/b7f42424680a57b8161794ad1737cd8f","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_5C711D7EAB69A9E7","name":"Exploit Reference (npmjs.com)","source":"reference","url":"https://www.npmjs.com/package/schema-inspector","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":3,"weaknesses":[{"id":"CWE-20","name":"Improper Input Validation","description":"The product receives input or data, but it does\n        not validate or incorrectly validates that the input has the\n        properties that are required to process the data safely and\n        correctly.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/20.html"},{"id":"CWE-400","name":"Uncontrolled Resource Consumption","description":"The product does not properly control the allocation and maintenance of a limited resource.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/400.html"}],"affected":[{"vendor":"netapp","product":"e-series_performance_analyzer","name":"e-series performance analyzer","label":"e-series_performance_analyzer","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/e-series_performance_analyzer"},{"vendor":"netapp","product":"oncommand_insight","name":"oncommand insight","label":"oncommand_insight","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/oncommand_insight"},{"vendor":"Npm","product":"schema-inspector","name":"schema-inspector","label":"schema-inspector","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/schema-inspector","purlType":"npm","versions":[{"text":"< 2.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.0.0","eol":null,"hubHref":null},{"vendor":"schema-inspector_project","product":"schema-inspector","name":"schema-inspector","label":"schema-inspector","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.0.0","eol":null,"hubHref":"/vendor/schema-inspector_project/schema-inspector"},{"vendor":"schema-inspector","product":"schema-inspector","name":"schema-inspector","label":"schema-inspector","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.0.0","eol":null,"hubHref":"/vendor/schema-inspector/schema-inspector"}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/schema-inspector/schema-inspector/security/advisories/GHSA-f38p-c2gq-4pmr","label":"github.com/schema-inspector/schema-inspector/security/advisories/GHSA-f38p-c2gq-4pmr","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Exploit","Third Party Advisory"]},{"url":"https://gist.github.com/mattwelke/b7f42424680a57b8161794ad1737cd8f","label":"gist.github.com/mattwelke/b7f42424680a57b8161794ad1737cd8f","hostname":"gist.github.com","tags":["X Refsource MISC","WEB","Exploit","Third Party Advisory"]},{"url":"https://www.npmjs.com/package/schema-inspector","label":"www.npmjs.com/package/schema-inspector","hostname":"www.npmjs.com","tags":["X Refsource MISC","WEB","Exploit","Third Party Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20210528-0006/","label":"security.netapp.com/advisory/ntap-20210528-0006/","hostname":"security.netapp.com","tags":["X Refsource CONFIRM","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21267","label":"nvd.nist.gov/vuln/detail/CVE-2021-21267","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/schema-inspector/schema-inspector/releases/tag/2.0.0","label":"github.com/schema-inspector/schema-inspector/releases/tag/2.0.0","hostname":"github.com","tags":["WEB"]},{"url":"https://security.netapp.com/advisory/ntap-20210528-0006","label":"security.netapp.com/advisory/ntap-20210528-0006","hostname":"security.netapp.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2021-03-19T20:25:13.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T18:09:14.989Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":40,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T16:42:51.686Z","stale":false,"partial":false}}