CVE-2018-1107
Medium
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.
SeverityMedium
CVSS5.3
Exploit probability—
ProductIs-my-json-valid
PublishedMar 30, 2021
First seenMar 30, 2021
Weakness typeCWE-400Uncontrolled resource consumption
How to fix
Update
- is-my-json-valid_project is-my-json-valid1.4.1, 2.17.2 or later
- is-my-json-valid2.17.2, 1.4.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| is-my-json-valid_project is-my-json-valid | v < 1.4.1, 2.0.0 ≤ v < 2.17.2 | 1.4.1, 2.17.2 |
| is-my-json-validnpm | 2.0.0 ≤ v < 2.17.2, v < 1.4.1 | 2.17.2, 1.4.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.