CVE-2021-21267
Schema-inspector Project Schema-inspector vulnerability
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.
Affected products
Schema-inspector, E-series Performance Analyzer, Oncommand Insight. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Schema-inspector Project Schema-inspector runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- gist.github.com/mattwelke/b7f42424680a57b8161794ad1737cd8f · Exploit
- github.com/schema-inspector/schema-inspector/security/advisories/GHSA-f38p-c2gq-4pmr · Exploit
- security.netapp.com/advisory/ntap-20210528-0006/ · Third Party Advisory
- www.npmjs.com/package/schema-inspector · Exploit
- nvd.nist.gov/vuln/detail/CVE-2021-21267
- cve.org/CVERecord?id=CVE-2021-21267
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.