Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @node-red/runtime
  4. ›
  5. CVE-2021-21297

CVE-2021-21297: Improperly Controlled Modification of Dynamically-Determined Object Attributes

February 26, 2021 (updated September 22, 2021)

Node-Red is a low-code programming for event-driven applications built using nodejs. Node-RED 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 release. A workaround is to ensure only authorized users are able to access the editor url.

References

  • github.com/advisories/GHSA-xp9c-82x8-7f67
  • github.com/node-red/node-red/releases/tag/1.2.8
  • github.com/node-red/node-red/security/advisories/GHSA-xp9c-82x8-7f67
  • nvd.nist.gov/vuln/detail/CVE-2021-21297
  • www.npmjs.com/package/@node-red/editor-api
  • www.npmjs.com/package/@node-red/runtime

Code Behaviors & Features

Detect and mitigate CVE-2021-21297 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.2.8

Fixed versions

  • 1.2.8

Solution

Upgrade to version 1.2.8 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes

Source file

npm/@node-red/runtime/CVE-2021-21297.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:46 +0000.