原始 OSV JSON
{
"id": "GHSA-xx4c-jj58-r7x6",
"aliases": [],
"details": "### Impact\nVersions of `validator` prior to 13.7.0 are affected by an inefficient Regular Expression complexity when using the `rtrim` and `trim` sanitizers.\n\n### Patches\nThe problem has been patched in validator 13.7.0",
"summary": "Inefficient Regular Expression Complexity in Validator.js",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "11.1.0"
},
{
"fixed": "13.7.0"
}
]
}
],
"package": {
"name": "validator",
"ecosystem": "npm"
}
}
],
"modified": "2022-07-12T00:11:53Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
}
],
"published": "2021-11-19T20:14:23Z",
"references": [
{
"url": "https://github.com/validatorjs/validator.js/security/advisories/GHSA-xx4c-jj58-r7x6",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-3765",
"type": "ADVISORY"
},
{
"url": "https://github.com/validatorjs/validator.js/issues/1599",
"type": "WEB"
},
{
"url": "https://github.com/validatorjs/validator.js/pull/1738",
"type": "WEB"
},
{
"url": "https://github.com/validatorjs/validator.js",
"type": "PACKAGE"
},
{
"url": "https://huntr.dev/bounties/c37e975c-21a3-4c5f-9b57-04d63b28cfc9",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-1333"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": null,
"github_reviewed_at": "2021-11-08T21:27:48Z"
}
}