Skip to content

Regular Expression Denial of Service in is-my-json-valid

High severity GitHub Reviewed Published Oct 24, 2017 to the GitHub Advisory Database • Updated Apr 11, 2023

Package

npm is-my-json-valid (npm)

Affected versions

>= 2.0.0, < 2.17.2
< 1.4.1

Patched versions

2.17.2
1.4.1

Description

Version of is-my-json-valid before 1.4.1 or 2.17.2 are vulnerable to regular expression denial of service (ReDoS) via the email validation function.

Recommendation

Update to version 1.4.1, 2.17.2 or later.

References

Published to the GitHub Advisory Database Oct 24, 2017
Reviewed Jun 16, 2020
Last updated Apr 11, 2023

Severity

High
7.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weaknesses

CVE ID

CVE-2016-2537

GHSA ID

GHSA-f522-ffg8-j8r6
Checking history
See something to contribute? Suggest improvements for this vulnerability.