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.

INFO

Published Date :

Feb. 26, 2021, 5:15 p.m.

Last Modified :

Nov. 7, 2023, 3:29 a.m.

Remotely Exploitable :

Yes !

Impact Score :

4.0

Exploitability Score :

3.1
Public PoC/Exploit Available at Github

CVE-2021-21297 has a 2 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2021-21297 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Nodered node-red
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-21297.

URL Resource
https://github.com/node-red/node-red/releases/tag/1.2.8 Release Notes Third Party Advisory
https://github.com/node-red/node-red/security/advisories/GHSA-xp9c-82x8-7f67 Third Party Advisory
https://www.npmjs.com/package/%40node-red/editor-api
https://www.npmjs.com/package/%40node-red/runtime

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

HTML JavaScript

Updated: 1 year, 8 months ago
0 stars 0 fork 0 watcher
Born at : Jan. 8, 2023, 5:05 p.m. This repo has been linked 1 different CVEs too.

Node-RED node allowing easy integration with LoRa Cloud

HTML JavaScript

Updated: 1 year, 1 month ago
5 stars 5 fork 5 watcher
Born at : June 10, 2020, 12:12 p.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-21297 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-21297 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Added Reference GitHub, Inc. https://www.npmjs.com/package/%40node-red/runtime [No types assigned]
    Added Reference GitHub, Inc. https://www.npmjs.com/package/%40node-red/editor-api [No types assigned]
    Removed Reference GitHub, Inc. https://www.npmjs.com/package/@node-red/runtime
    Removed Reference GitHub, Inc. https://www.npmjs.com/package/@node-red/editor-api
  • Modified Analysis by [email protected]

    Oct. 25, 2022

    Action Type Old Value New Value
    Removed CWE NIST CWE-915
    Added CWE NIST CWE-1321
  • CVE Modified by [email protected]

    May. 12, 2022

    Action Type Old Value New Value
    Added CWE GitHub, Inc. CWE-1321
  • Modified Analysis by [email protected]

    Sep. 21, 2021

    Action Type Old Value New Value
    Added CWE NIST CWE-915
  • Initial Analysis by [email protected]

    Mar. 04, 2021

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:S/C:N/I:P/A:N)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
    Changed Reference Type https://github.com/node-red/node-red/releases/tag/1.2.8 No Types Assigned https://github.com/node-red/node-red/releases/tag/1.2.8 Release Notes, Third Party Advisory
    Changed Reference Type https://github.com/node-red/node-red/security/advisories/GHSA-xp9c-82x8-7f67 No Types Assigned https://github.com/node-red/node-red/security/advisories/GHSA-xp9c-82x8-7f67 Third Party Advisory
    Changed Reference Type https://www.npmjs.com/package/@node-red/editor-api No Types Assigned https://www.npmjs.com/package/@node-red/editor-api Release Notes, Third Party Advisory
    Changed Reference Type https://www.npmjs.com/package/@node-red/runtime No Types Assigned https://www.npmjs.com/package/@node-red/runtime Release Notes, Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:a:nodered:node-red:*:*:*:*:*:node.js:*:* versions up to (excluding) 1.2.8
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-21297 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.08 }} 0.00%

score

0.32446

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability