Skip to content

CVE-2021-21297 Prototype Pollution in Node-Red

MediumCVSS 6.5 EPSS 1.4%
Published
Updated
Exploit status
No public exploit known

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
node-red @node-red/runtime(npm) < 1.2.8 1.2.8 Fixed
nodered node-red < 1.2.8 1.2.8 Fixed
node-red = < 1.2.8 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
node-red @node-red/runtime(npm) < 1.2.8 1.2.8
nodered node-red < 1.2.8 1.2.8
node-red = < 1.2.8 No fix listed

References