Prototype Pollution in Node-Red
CVE-2021-21297
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.
Vulnerability class: Mass Assignment
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.7 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N.
EPSS exploit prediction
EPSS 0.014, 72.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Node-Red — versions < 1.2.8
- Nodered Node-Red
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 3 other repositories (ARPSyndicate/cvemon, bsunobs-github-io/node-red-contrib-loracloud-utils, Lora-net/node-red-contrib-loracloud-utils). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/node-red/node-red/security/advisories/GHSA-xp9c-82x8-7f67 (Third Party Advisory)
- www.npmjs.com/package/@node-red/runtime
- www.npmjs.com/package/@node-red/editor-api
- github.com/node-red/node-red/releases/tag/1.2.8 (Third Party Advisory, Release Notes)