CVE-2021-21298
Summary
| CVE | CVE-2021-21298 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-02-26 17:15:00 UTC |
| Updated | 2023-11-07 03:29:00 UTC |
| Description | Node-Red is a low-code programming for event-driven applications built using nodejs. Node-RED 1.2.7 and earlier has a vulnerability which allows arbitrary path traversal via the Projects API. If the Projects feature is enabled, a user with `projects.read` permission is able to access any file via the Projects API. The issue has been patched in Node-RED 1.2.8. The vulnerability applies only to the Projects feature which is not enabled by default in Node-RED. The primary workaround is not give untrusted users read access to the Node-RED editor. |
Risk And Classification
Problem Types: CWE-22
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Release 1.2.8: Maintenance Release · node-red/node-red · GitHub | MISC | github.com | Release Notes, Third Party Advisory |
| Restrict project file access to inside the project directory · node-red/node-red@74db3e1 · GitHub | MISC | github.com | Patch, Third Party Advisory |
| @node-red/runtime - npm | MISC | www.npmjs.com | Product |
| @node-red/runtime - npm | www.npmjs.com | ||
| Path traversal via Projects API · Advisory · node-red/node-red · GitHub | CONFIRM | github.com | Third Party Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 982935 Nodejs (npm) Security Update for @node-red/runtime (GHSA-m33v-338h-4v9f)