CVE-2018-1107

nodejs-is-my-json-valid: ReDoS when validating JSON fields with email format

Published Mar 30, 2021 CVSS 3.1 · 5.3 Medium EPSS 1.2% KEV · Not listed
Description
It was discovered that the is-my-json-valid JavaScript library used an inefficient regular expression to validate JSON fields defined to have email format. A specially crafted JSON file could cause it to consume an excessive amount of CPU time when validated.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-0444 It was discovered that the is-my-json-valid JavaScript library used an inefficient regular expression to validate JSON fields defined to have email format. A specially crafted JSON file could cause it to consume an excessive amount of CPU time when validated.
Github GHSA Github GHSA GHSA-4hpf-3wq7-5rpr Regular expression deinal of service (ReDoS) in is-my-json-valid
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 5, 2024, 3:51 AM
Reserved
Dec 4, 2017, 12:00 AM
Status
Modified
Published
Mar 30, 2021, 2:15 AM
Modified
Jun 17, 2026, 1:50 AM
Severity
Moderate
Public date
Feb 16, 2018, 12:00 AM