原始 OSV JSON{
"id": "GHSA-4hpf-3wq7-5rpr",
"aliases": [
"CVE-2018-1107"
],
"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.",
"summary": "Regular expression deinal of service (ReDoS) in is-my-json-valid",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "2.0.0"
},
{
"fixed": "2.17.2"
}
]
}
],
"package": {
"name": "is-my-json-valid",
"ecosystem": "npm"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.4.1"
}
]
}
],
"package": {
"name": "is-my-json-valid",
"ecosystem": "npm"
}
}
],
"modified": "2021-04-23T20:09:28Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
}
],
"published": "2022-01-06T20:44:07Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1107",
"type": "ADVISORY"
},
{
"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",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-400"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2021-03-30T02:15:00Z",
"github_reviewed_at": "2021-03-31T21:45:17Z"
}
}