7.5

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

Modified
AliasesGHSA-f38p-c2gq-4pmr
Published 19-03-2021Last modified 03-08-2024

Vulnerability summary

CVE-2021-21267 is a high (CVSS 7.5) Improper Input Validation vulnerability in netapp e-series_performance_analyzer. EPSS estimates a 2.09% chance of exploitation in the next 30 days, higher than 82.2% of scored vulnerabilities. 3 public exploits are recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
2.09%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits3github, reference

Timeline

  1. 19-03-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

2.09%

Chance of exploitation in the next 30 days

Percentile

82%

Versus all other CVEs

30-day change

No change 0.00 pp

From 2.09% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

3 found
  • githubUnverified

    Schema Inspector

    Maturity: poc

  • githubUnverified

    B7F42424680A57B8161794Ad1737Cd8F

    Maturity: poc

  • referenceUnverified

    Exploit Reference (npmjs.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Netapp2 products
Npm1 product
  • schema-inspector< 2.0.0
Schema-inspector1 product
Schema-inspector_project1 product

4 vendors · 5 products

References

7 links