CVE-2018-1107

MEDIUM5.3EPSS 0.26%

Regular expression deinal of service (ReDoS) in is-my-json-valid

Published: 1/6/2022Modified: 11/8/2023

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.

Affected packages (1)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1MEDIUM5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

References (5)