{ "id": "CVE-2021-21298", "sourceIdentifier": "security-advisories@github.com", "published": "2021-02-26T17:15:12.337", "lastModified": "2023-11-07T03:29:46.107", "vulnStatus": "Modified", "cveTags": [], "descriptions": [ { "lang": "en", "value": "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." }, { "lang": "es", "value": "Node-Red es una programaci\u00f3n de low-code para aplicaciones basadas en eventos dise\u00f1adas usando nodejs. Node-RED versiones 1.2.7 y anteriores, presentan una vulnerabilidad que permite un salto de ruta arbitrario por medio de la API Projects. Si la funcionalidad Proyects est\u00e1 habilitada, un usuario con el permiso \"projects.read\" puede acceder a cualquier archivo por medio de la API Proyects. El problema ha sido parcheado en Node-RED versi\u00f3n 1.2.8. La vulnerabilidad se aplica solo a la funcionalidad Proyects que no est\u00e1 habilitada por defecto en Node-RED. La soluci\u00f3n alternativa principal es no dar acceso de lectura al editor de Node-RED para usuarios que no son confiables" } ], "metrics": { "cvssMetricV31": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE", "baseScore": 6.5, "baseSeverity": "MEDIUM" }, "exploitabilityScore": 2.8, "impactScore": 3.6 }, { "source": "security-advisories@github.com", "type": "Secondary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:N", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "NONE", "baseScore": 3.5, "baseSeverity": "LOW" }, "exploitabilityScore": 1.8, "impactScore": 1.4 } ], "cvssMetricV2": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "2.0", "vectorString": "AV:N/AC:M/Au:S/C:P/I:N/A:N", "accessVector": "NETWORK", "accessComplexity": "MEDIUM", "authentication": "SINGLE", "confidentialityImpact": "PARTIAL", "integrityImpact": "NONE", "availabilityImpact": "NONE", "baseScore": 3.5 }, "baseSeverity": "LOW", "exploitabilityScore": 6.8, "impactScore": 2.9, "acInsufInfo": false, "obtainAllPrivilege": false, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": false } ] }, "weaknesses": [ { "source": "security-advisories@github.com", "type": "Primary", "description": [ { "lang": "en", "value": "CWE-22" } ] } ], "configurations": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:nodered:node-red:*:*:*:*:*:node.js:*:*", "versionEndExcluding": "1.2.8", "matchCriteriaId": "FD380E45-4954-4427-90D5-66896B983B30" } ] } ] } ], "references": [ { "url": "https://github.com/node-red/node-red/commit/74db3e17d075f23d9c95d7871586cf461524c456", "source": "security-advisories@github.com", "tags": [ "Patch", "Third Party Advisory" ] }, { "url": "https://github.com/node-red/node-red/releases/tag/1.2.8", "source": "security-advisories@github.com", "tags": [ "Release Notes", "Third Party Advisory" ] }, { "url": "https://github.com/node-red/node-red/security/advisories/GHSA-m33v-338h-4v9f", "source": "security-advisories@github.com", "tags": [ "Third Party Advisory" ] }, { "url": "https://www.npmjs.com/package/%40node-red/runtime", "source": "security-advisories@github.com" } ] }