CVE-2021-21267

Summary

CVECVE-2021-21267
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-03-19 21:15:00 UTC
Updated2022-06-30 19:08:00 UTC
DescriptionSchema-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.

Risk And Classification

Problem Types: CWE-20 | CWE-400

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Netapp E-series Performance Analyzer - All All All
Application Netapp Oncommand Insight - All All All
Application Schema-inspector Project Schema-inspector All All All All

References

ReferenceSourceLinkTags
schema-inspector MISC www.npmjs.com
CVE-2021-21267 Node.js Vulnerability in NetApp Products | NetApp Product Security CONFIRM security.netapp.com
ReDoS in Schema-Inspector (email validation) · Advisory · schema-inspector/schema-inspector · GitHub CONFIRM github.com
GHSL-2020-358-redos-Schema-Inspector.md · GitHub MISC gist.github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 982375 Nodejs (npm) Security Update for schema-inspector (GHSA-f38p-c2gq-4pmr)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report