Live threats

All CVEs / Schema-inspector Project

CVE-2021-21267Schema-inspector Project Schema-inspector

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
2.1%
probability of exploitation in 30 days · percentile 82
Auth required
No
Published
Mar 19, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20, CWE-400
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Schema-inspector.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm schema-inspector < 2.0.0 2.0.0 npm install schema-inspector@2.0.0

Per OSV / GitHub Advisories (GHSA-f38p-c2gq-4pmr). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
schema-inspector_projectschema-inspector< 2.0.0
netappe-series_performance_analyzerall
netapponcommand_insightall

Official sources

References

Links published by the sources. Open them with care.