Uncontrolled resource consumption in nodejs-is-my-json-valid
Priority LOW 26CWE-400Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Partial Red Hat: 1 fixed, 2 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-400.
Summary
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.
Why it matters now
EPSS 0.01204 68th percentileScored 2026-11-07
Fix Partial is-my-json-valid (npm): 2.17.2, 1.4.1Red Hat: 1 advisoryRed Hat: 1 fixed, 2 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | nodejs-is-my-json-valid | is-myjson-valid 2.17.2, is-myjson-valid 1.4.1 | — | No fix listed | CNA |
| — | is-my-json-valid (npm) | 2.0.0 to before 2.17.2 | 2.17.2 | Patch available | GHSA-4hpf-3wq7-5rpr |
| — | is-my-json-valid (npm) | before 1.4.1 | 1.4.1 | Patch available | GHSA-4hpf-3wq7-5rpr |
- nodejs-is-my-json-valid Vendor— Affected is-myjson-valid 2.17.2, is-myjson-valid 1.4.1 Fixed in — No fix listed CNA
- is-my-json-valid (npm) Vendor— Affected 2.0.0 to before 2.17.2 Fixed in 2.17.2 Patch available GHSA-4hpf-3wq7-5rpr
- is-my-json-valid (npm) Vendor— Affected before 1.4.1 Fixed in 1.4.1 Patch available GHSA-4hpf-3wq7-5rpr
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:is-my-json-valid_project:is-my-json-valid:*:*:*:*:*:node.js:*:* | before 1.4.1; 2.0.0 to before 2.17.2 | Vulnerable | Is-my-json-valid Project |
- cpe:2.3:a:is-my-json-valid_project:is-my-json-valid:*:*:*:*:*:node.js:*:* Versions before 1.4.1; 2.0.0 to before 2.17.2 Vulnerable ·Is-my-json-valid Project
Remediation
- Fix · GHSA-4hpf-3wq7-5rpr is-my-json-valid (npm) Fixed in 2.17.2 Advisory →
- Fix · GHSA-4hpf-3wq7-5rpr is-my-json-valid (npm) Fixed in 1.4.1 Advisory →
Red Hat 1 advisory
- RHSA-2021:3917 Released 2021-10-19 · Red Hat rating ImportantRed Hat Quay v3.6.0 security, bug fix and enhancement update
- Quay v3 quay/quay-rhel8
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Mobile Application Platform 4 | Affected | No fix yet |
| Red Hat Software Collections | Affected | No fix planned: Will not fix |
| Quay v3 | Fixed | RHSA-2021:3917 |
Not affected: 3 products
- Quay v3
- Red Hat Enterprise Linux 8
- Red Hat OpenShift Enterprise 3
Timeline
- 2026-10-02 Threatist record created from CVE-2018-1107
- 2026-10-03 Alias added: GHSA-4hpf-3wq7-5rpr
References
Sources
- CVE-2018-1107 · CVE Program
- CVE-2018-1107 · NVD
- FIRST EPSS
- GHSA-4hpf-3wq7-5rpr · GitHub Advisory Database · CC BY 4.0
- CVE-2018-1107 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences