7.5
CWE
20 400
Advisory Published
Updated

CVE-2021-21267: Regular Expression Denial-of-Service in npm schema-inspector

First published: Fri Mar 19 2021(Updated: )

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.

Credit: security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
Schema-inspector Project Schema-inspector<2.0.0
Netapp E-series Performance Analyzer
NetApp OnCommand Insight

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2021-21267?

    CVE-2021-21267 is a vulnerability in the Schema-Inspector open-source tool that allows for a denial-of-service attack through email address validation.

  • What is the severity of CVE-2021-21267?

    The severity of CVE-2021-21267 is high with a CVSS score of 7.5.

  • How does CVE-2021-21267 affect Schema-Inspector?

    CVE-2021-21267 affects Schema-Inspector before version 2.0.0, making the email address validation vulnerable to a denial-of-service attack.

  • What software is affected by CVE-2021-21267?

    CVE-2021-21267 affects Schema-Inspector, NetApp E-series Performance Analyzer, and NetApp OnCommand Insight.

  • How can I fix CVE-2021-21267?

    To fix CVE-2021-21267, upgrade Schema-Inspector to version 2.0.0 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203