PT-2021-14375 · Unknown · Schema-Inspector

Erik-Krogh

+1

·

Published

2021-03-19

·

Updated

2022-06-30

·

CVE-2021-21267

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions: schema-inspector versions prior to 2.0.0
Description: The email address validation in schema-inspector 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, are not affected.
Recommendations: To resolve the issue, upgrade to version 2.0.0, which uses a regex expression that isn't vulnerable to ReDoS. As a temporary workaround, consider stopping the use of the email validation feature in the library. For example, accept the email address into the system but save it in a "not yet validated" state until a verification email is sent to it.

Exploit

Fix

RCE

Resource Exhaustion

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2021-21267
GHSA-F38P-C2GQ-4PMR

Affected Products

Schema-Inspector