Skip to content

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

HighCVSS 7.5 EPSS 2.1%
Published
Updated
Exploit status
No public exploit known

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.

Upgrade path

5 packages: 2 fixed, 2 with no fix yet.

PackageAffectedFixed inStatus
netapp e-series performance analyzer All versions No fix listed No fix yet
netapp oncommand insight All versions No fix listed No fix yet
npm schema-inspector(npm) < 2.0.0 2.0.0 Fixed
schema-inspector project schema-inspector < 2.0.0 2.0.0 Fixed
schema-inspector = < 2.0.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
npm schema-inspector(npm) < 2.0.0 2.0.0
schema-inspector project schema-inspector < 2.0.0 2.0.0
netapp e-series performance analyzer All versions No fix listed
netapp oncommand insight All versions No fix listed
schema-inspector = < 2.0.0 No fix listed

References