CVE-2018-1107
JavaScript vulnerability analysis and mitigation

Overview

The CVE-2018-1107 vulnerability affects the is-my-json-valid JavaScript library, discovered in versions before 1.4.1 and 2.17.2. The vulnerability was disclosed on February 13, 2018, and involves a Regular Expression Denial of Service (ReDoS) issue when validating JSON fields with email format (Snyk Vuln DB, Red Hat Bugzilla).

Technical details

The vulnerability stems from an inefficient regular expression (/^\S+@\S+$/) used to validate email fields. When processing specially crafted input, this can result in catastrophic backtracking, causing the validation process to take approximately 10 seconds for data 90K characters in length. The vulnerability has been assigned a CVSS v3.1 base score of 5.3 (medium severity) with attack vector being network-based and requiring no privileges or user interaction (Snyk Vuln DB).

Impact

The primary impact of this vulnerability is on system availability. When exploited, it can cause excessive CPU consumption during the validation process of specially crafted input, potentially leading to a denial of service condition. The vulnerability affects the performance of systems using the vulnerable versions of the is-my-json-valid library for email validation (Snyk Vuln DB).

Mitigation and workarounds

The vulnerability has been fixed in is-my-json-valid versions 2.17.2 and 1.4.1. Users should upgrade to these or later versions to mitigate the issue. The fix was implemented through a patch that improves the email validation regular expression pattern (Red Hat Bugzilla).

Community reactions

Red Hat has classified this vulnerability as having an 'Important' security impact. In the context of Red Hat Quay, the library was identified as a build-time dependency of protractor, with reduced impact due to its non-runtime usage (Red Hat Bugzilla).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-55182CRITICAL10
  • JavaScriptJavaScript
  • react
NoYesDec 03, 2025
CVE-2025-66401CRITICAL9.8
  • JavaScriptJavaScript
  • mcp-watch
NoNoDec 01, 2025
CVE-2025-66412HIGH8.5
  • JavaScriptJavaScript
  • @angular/compiler
NoYesDec 01, 2025
CVE-2025-66415MEDIUM6.9
  • JavaScriptJavaScript
  • @fastify/reply-from
NoYesDec 01, 2025
CVE-2025-66405MEDIUM6.9
  • JavaScriptJavaScript
  • @portkey-ai/gateway
NoYesDec 01, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management