Vulnerability · Published Feb 26, 2021 · Assigned by GitHub_M
CVE-2021-21297Prototype Pollution in Node-Red
High 7.7
In plain English
A high-severity prototype pollution in node-red from node-red. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 73% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Node-Red is a low-code programming for event-driven applications built using nodejs. Node-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. The vulnerability is patched in the 1.2.8 release. A workaround is to ensure only authorized users are able to access the editor url.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @node-red/runtime | 1.2.8 | GHSA-xp9c-82x8-7f67 |
Affected products (as reported)
Weakness: CWE-1321, CWE-915 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
References
- https://github.com/node-red/node-red/security/advisories/GHSA-xp9c-82x8-7f67 x_refsource_CONFIRM
- https://www.npmjs.com/package/%40node-red/runtime x_refsource_MISC
- https://www.npmjs.com/package/%40node-red/editor-api x_refsource_MISC
- https://github.com/node-red/node-red/releases/tag/1.2.8 x_refsource_MISC