CVE-2018-1107
Inefficient regular expression in is-my-json-valid
Not specified nodejs-is-my-json-valid
At a glance
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.
Source description · CVE List / CNA
System impact
Attack complexityLow
ConfidentialityNone
IntegrityNone
AvailabilityLow
CVSS summary v3.1
5.3Medium
- Published:
- Updated:
- EPSS:
- 1.204%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Related CWE
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:Not specified | nodejs-is-my-json-valid | Affected versions: is-myjson-valid 2.17.2, is-myjson-valid 1.4.1 |
| Vendor:Red Hat | Quay v3 | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Mobile Application Platform 4 | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Software Collections | Affected versions:Source does not specify a version range |
| Vendor:is-my-json-valid_project | is-my-json-valid | Affected versions:< 1.4.1Show full version range for is-my-json-valid≥ 2.0.0, < 2.17.2
|
1–5 of 5 · Page 1 of 1
CVSS scores and metrics3
[email protected] · NVD (Primary)Primary5.3 / 10MediumCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LRed Hat · Red Hat VEX (adp)5.3 / 10MediumCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L[email protected] · NVD (Primary)5.0 / 10MediumCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- None
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:N/I:N/A:PCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
Sources and advisories6
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences