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
EPSS: 0.014 (69.6th percentile) — read the EPSS interpretation.
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.
Affected products
- Node-red — versions < 1.2.8
- Nodered Node-red
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security-advisories@github.com (x_refsource_CONFIRM, Third Party Advisory)
- security-advisories@github.com (x_refsource_MISC)
- security-advisories@github.com (x_refsource_MISC)
- security-advisories@github.com (Third Party Advisory, x_refsource_MISC, Release Notes)
Frequently asked questions
- What is CVE-2021-21297?
- CVE-2021-21297 is a high-severity vulnerability in Node-Red, classified under Improperly Controlled Modification of Dynamically-Determined Object Attributes. CVSS score: 7.7/10. Published 2021-02-26.
- How severe is CVE-2021-21297?
- High severity. CVSS v3 base score is 7.7 out of 10.
- Is CVE-2021-21297 known to be exploited?
- 3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.