ghsa-4hpf-3wq7-5rpr
Vulnerability from github
Published
2022-01-06 20:44
Modified
2021-04-23 20:09
Severity ?
Summary
Regular expression deinal of service (ReDoS) in is-my-json-valid
Details
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.
{ "affected": [ { "package": { "ecosystem": "npm", "name": "is-my-json-valid" }, "ranges": [ { "events": [ { "introduced": "2.0.0" }, { "fixed": "2.17.2" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "npm", "name": "is-my-json-valid" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "1.4.1" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2018-1107" ], "database_specific": { "cwe_ids": [ "CWE-400" ], "github_reviewed": true, "github_reviewed_at": "2021-03-31T21:45:17Z", "nvd_published_at": "2021-03-30T02:15:00Z", "severity": "MODERATE" }, "details": "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.", "id": "GHSA-4hpf-3wq7-5rpr", "modified": "2021-04-23T20:09:28Z", "published": "2022-01-06T20:44:07Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1107" }, { "type": "WEB", "url": "https://github.com/mafintosh/is-my-json-valid/pull/159" }, { "type": "WEB", "url": "https://github.com/mafintosh/is-my-json-valid/commit/b3051b277f7caa08cd2edc6f74f50aeda65d2976" }, { "type": "WEB", "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1546357" }, { "type": "WEB", "url": "https://snyk.io/vuln/npm:is-my-json-valid:20180214" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L", "type": "CVSS_V3" } ], "summary": "Regular expression deinal of service (ReDoS) in is-my-json-valid" }
Loading...
Loading...
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.