CVE-2021-21297
Nodered Node-red vulnerability
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 products
Node-red. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Nodered Node-red runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/node-red/node-red/releases/tag/1.2.8 · Third Party Advisory
- github.com/node-red/node-red/security/advisories/GHSA-xp9c-82x8-7f67 · Third Party Advisory
- www.npmjs.com/package/%40node-red/editor-api
- www.npmjs.com/package/%40node-red/runtime
- nvd.nist.gov/vuln/detail/CVE-2021-21297
- cve.org/CVERecord?id=CVE-2021-21297
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.