CVE-2021-21267

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:schema-inspector_project:schema-inspector:*:*:*:*:*:node.js:*:*

Configuration 2 (hide)

OR cpe:2.3:a:netapp:e-series_performance_analyzer:-:*:*:*:*:*:*:*
cpe:2.3:a:netapp:oncommand_insight:-:*:*:*:*:*:*:*

History

21 Nov 2024, 05:47

Type Values Removed Values Added
References () https://gist.github.com/mattwelke/b7f42424680a57b8161794ad1737cd8f - Exploit, Third Party Advisory () https://gist.github.com/mattwelke/b7f42424680a57b8161794ad1737cd8f - Exploit, Third Party Advisory
References () https://github.com/schema-inspector/schema-inspector/security/advisories/GHSA-f38p-c2gq-4pmr - Exploit, Third Party Advisory () https://github.com/schema-inspector/schema-inspector/security/advisories/GHSA-f38p-c2gq-4pmr - Exploit, Third Party Advisory
References () https://security.netapp.com/advisory/ntap-20210528-0006/ - Third Party Advisory () https://security.netapp.com/advisory/ntap-20210528-0006/ - Third Party Advisory
References () https://www.npmjs.com/package/schema-inspector - Exploit, Third Party Advisory () https://www.npmjs.com/package/schema-inspector - Exploit, Third Party Advisory

Information

Published : 2021-03-19 21:15

Updated : 2024-11-21 05:47


NVD link : CVE-2021-21267

Mitre link : CVE-2021-21267

CVE.ORG link : CVE-2021-21267


JSON object : View

Products Affected

netapp

  • e-series_performance_analyzer
  • oncommand_insight

schema-inspector_project

  • schema-inspector
CWE
CWE-20

Improper Input Validation

CWE-400

Uncontrolled Resource Consumption