Every CVE Search/ Get API key

CVE-2018-1107

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

5.3 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
Low

Exploit likelihood

1.20%Up 0.6 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 5.3

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.

Record
CVE-2018-1107
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:N/A:P
Weakness
CWE-400
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2018-1107
Weakness
CWE-400
Updated
2026-11-02
EUVDEUVD-2022-0444 No score

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.

Record
EUVD-2022-0444
Updated
2026-11-03
GitHub AdvisoriesGHSA-4hpf-3wq7-5rpr 5.3

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

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.

Record
GHSA-4hpf-3wq7-5rpr
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness
CWE-400
Updated
2026-11-02
OSVGHSA-4hpf-3wq7-5rpr 5.3

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

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.

Record
GHSA-4hpf-3wq7-5rpr
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness
CWE-400
Updated
2026-11-02
OSVCLSA-2026-1773015272 No score

TuxCare security update for is-my-json-valid (2 CVEs)

TuxCare rebuilt is-my-json-valid to address 2 CVEs. Fixed in 2.12.2-tuxcare.1.

Record
CLSA-2026-1773015272
Updated
2026-11-02
OSVCLSA-2026-1773793045 No score

TuxCare security update for is-my-json-valid (2 CVEs)

TuxCare rebuilt is-my-json-valid to address 2 CVEs. Fixed in 2.10.1-tuxcare.1.

Record
CLSA-2026-1773793045
Updated
2026-11-02
OSVCLSA-2026-1792476292 No score

TuxCare security update for is-my-json-valid (1 CVE)

TuxCare rebuilt is-my-json-valid to address 1 CVE. Fixed in 2.12.4-tuxcare.2.

Record
CLSA-2026-1792476292
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
is-my-json-valid
npm
2.0.0 up to 2.17.2
2.17.2
is-my-json-valid
npm
before 1.4.1
1.4.1
is-my-json-valid
TuxCare:npm
2.12.2-tuxcare.0 up to 2.12.2-tuxcare.1, plus listed versions
2.12.2
2.12.2-tuxcare.1
is-my-json-valid
TuxCare:npm
2.10.1-tuxcare.0 up to 2.10.1-tuxcare.1, plus listed versions
2.10.1
2.10.1-tuxcare.1
is-my-json-valid
TuxCare:npm
2.12.4-tuxcare.0 up to 2.12.4-tuxcare.2, plus listed versions
2.12.42.12.4-tuxcare.1
2.12.4-tuxcare.2

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2018-1107 is a medium vulnerability (CVSS 5.3) in Is-my-json-valid Project Is-my-json-valid, published March 30, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.20%, the 68th percentile. Fixed in is-my-json-valid 2.17.2.

References

MoveEnter Open