原始 OSV JSON
{
"id": "GHSA-hf2m-j98r-4fqw",
"aliases": [
"CVE-2021-43786"
],
"details": "### Impact\nIncorrect logic present in the token verification step unintentionally allowed master token access to the API.\n\n### Patches\nThe vulnerability has been patch as of v1.18.5.\n\n### Workarounds\nCherry-pick commit hash 04dab1d550cdebf4c1567bca9a51f8b9ca48a500 to receive this patch in lieu of a full upgrade.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Email us at [[email protected]](mailto:[email protected])\n",
"summary": "API token verification can be bypassed in NodeBB ",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "1.15.0"
},
{
"fixed": "1.18.5"
}
]
}
],
"package": {
"name": "nodebb",
"ecosystem": "npm"
}
}
],
"modified": "2021-12-01T15:06:58Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"published": "2021-11-30T22:21:05Z",
"references": [
{
"url": "https://github.com/NodeBB/NodeBB/security/advisories/GHSA-hf2m-j98r-4fqw",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-43786",
"type": "ADVISORY"
},
{
"url": "https://github.com/NodeBB/NodeBB/commit/04dab1d550cdebf4c1567bca9a51f8b9ca48a500",
"type": "WEB"
},
{
"url": "https://blog.sonarsource.com/nodebb-remote-code-execution-with-one-shot",
"type": "WEB"
},
{
"url": "https://github.com/NodeBB/NodeBB",
"type": "PACKAGE"
},
{
"url": "https://github.com/NodeBB/NodeBB/releases/tag/v1.18.5",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-287"
],
"severity": "CRITICAL",
"github_reviewed": true,
"nvd_published_at": "2021-11-29T20:15:00Z",
"github_reviewed_at": "2021-11-30T14:35:05Z"
}
}