原始 OSV JSON{
"id": "GHSA-xp9c-82x8-7f67",
"aliases": [
"CVE-2021-21297"
],
"details": "### Impact\n\nNode-RED 1.2.7 and earlier contains a Prototype Pollution vulnerability in the admin API. A badly formed request can modify the prototype of the default JavaScript Object with the potential to affect the default behaviour of the Node-RED runtime.\n\n### Patches\n\nThe vulnerability is patched in the 1.2.8 release.\n\n### Workarounds\n\nA workaround is to ensure only authorised users are able to access the editor url.\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\n### Acknowledgements\n\nThanks to the Tencent Woodpecker Security Team for disclosing this vulnerability.",
"summary": "Prototype Pollution in Node-Red",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.2.8"
}
]
}
],
"package": {
"name": "@node-red/runtime",
"ecosystem": "npm"
}
}
],
"modified": "2021-09-22T13:55:00Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N"
}
],
"published": "2021-02-26T16:31:05Z",
"references": [
{
"url": "https://github.com/node-red/node-red/security/advisories/GHSA-xp9c-82x8-7f67",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-21297",
"type": "ADVISORY"
},
{
"url": "https://github.com/node-red/node-red",
"type": "PACKAGE"
},
{
"url": "https://github.com/node-red/node-red/releases/tag/1.2.8",
"type": "WEB"
},
{
"url": "https://www.npmjs.com/package/@node-red/editor-api",
"type": "WEB"
},
{
"url": "https://www.npmjs.com/package/@node-red/runtime",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-1321",
"CWE-915"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2021-02-26T17:15:00Z",
"github_reviewed_at": "2021-02-26T16:22:38Z"
}
}