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.
Remediation
References
https://github.com/node-red/node-red/security/advisories/GHSA-xp9c-82x8-7f67
https://github.com/node-red/node-red/releases/tag/1.2.8
https://www.npmjs.com/package/%40node-red/runtime
https://www.npmjs.com/package/%40node-red/editor-api
Related Vulnerabilities
CVE-2018-11758 Vulnerability in maven package org.apache.cayenne:cayenne-server
CVE-2016-10584 Vulnerability in npm package dalek-browser-chrome-canary
CVE-2019-17592 Vulnerability in maven package org.webjars.npm:csv-parse
CVE-2021-25929 Vulnerability in maven package org.opennms:opennms-webapp
CVE-2019-1003003 Vulnerability in maven package org.jenkins-ci.main:jenkins-core