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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:nodered:node-red:*:*:*:*:*:node.js:*:*

History

21 Nov 2024, 05:47

Type Values Removed Values Added
CVSS v2 : 4.0
v3 : 6.5
v2 : 4.0
v3 : 7.7
References () https://github.com/node-red/node-red/releases/tag/1.2.8 - Release Notes, Third Party Advisory () https://github.com/node-red/node-red/releases/tag/1.2.8 - Release Notes, Third Party Advisory
References () https://github.com/node-red/node-red/security/advisories/GHSA-xp9c-82x8-7f67 - Third Party Advisory () https://github.com/node-red/node-red/security/advisories/GHSA-xp9c-82x8-7f67 - Third Party Advisory
References () https://www.npmjs.com/package/%40node-red/editor-api - () https://www.npmjs.com/package/%40node-red/editor-api -
References () https://www.npmjs.com/package/%40node-red/runtime - () https://www.npmjs.com/package/%40node-red/runtime -

07 Nov 2023, 03:29

Type Values Removed Values Added
References
  • {'url': 'https://www.npmjs.com/package/@node-red/runtime', 'name': 'https://www.npmjs.com/package/@node-red/runtime', 'tags': ['Release Notes', 'Third Party Advisory'], 'refsource': 'MISC'}
  • {'url': 'https://www.npmjs.com/package/@node-red/editor-api', 'name': 'https://www.npmjs.com/package/@node-red/editor-api', 'tags': ['Release Notes', 'Third Party Advisory'], 'refsource': 'MISC'}
  • () https://www.npmjs.com/package/%40node-red/runtime -
  • () https://www.npmjs.com/package/%40node-red/editor-api -

Information

Published : 2021-02-26 17:15

Updated : 2024-11-21 05:47


NVD link : CVE-2021-21297

Mitre link : CVE-2021-21297

CVE.ORG link : CVE-2021-21297


JSON object : View

Products Affected

nodered

  • node-red
CWE
CWE-915

Improperly Controlled Modification of Dynamically-Determined Object Attributes

CWE-1321

Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')