Vulnerability · Published Feb 26, 2021 · Assigned by GitHub_M

CVE-2021-21297Prototype Pollution in Node-Red

High 7.7

In plain English

A high-severity prototype pollution in node-red from node-red. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 73% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.7High
Exploit odds (30 days)1.4%top 27.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npm@node-red/runtime1.2.8GHSA-xp9c-82x8-7f67

Affected products (as reported)

VendorProductVersions
node-red node-red < 1.2.8

Weakness: CWE-1321, CWE-915 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N

References