{ "id": "CVE-2023-41058", "sourceIdentifier": "security-advisories@github.com", "published": "2023-09-04T23:15:47.513", "lastModified": "2024-11-21T08:20:28.660", "vulnStatus": "Modified", "cveTags": [], "descriptions": [ { "lang": "en", "value": "Parse Server is an open source backend server. In affected versions the Parse Cloud trigger `beforeFind` is not invoked in certain conditions of `Parse.Query`. This can pose a vulnerability for deployments where the `beforeFind` trigger is used as a security layer to modify the incoming query. The vulnerability has been fixed by refactoring the internal query pipeline for a more concise code structure and implementing a patch to ensure the `beforeFind` trigger is invoked. This fix was introduced in commit `be4c7e23c6` and has been included in releases 6.2.2 and 5.5.5. Users are advised to upgrade. Users unable to upgrade should make use of parse server's security layers to manage access levels with Class-Level Permissions and Object-Level Access Control that should be used instead of custom security layers in Cloud Code triggers." }, { "lang": "es", "value": "Parse Server es un servidor backend de c\u00f3digo abierto. En las versiones afectadas, el disparador \"beforeFind\" de Parse Cloud no se invoca en determinadas condiciones de \"Parse.Query\". Esto puede suponer una vulnerabilidad para los despliegues en los que el disparador \"beforeFind\" se utiliza como capa de seguridad para modificar la consulta entrante. La vulnerabilidad se ha corregido mediante la refactorizaci\u00f3n de la canalizaci\u00f3n interna de consultas para conseguir una estructura de c\u00f3digo m\u00e1s concisa y la aplicaci\u00f3n de un parche para garantizar que se invoque el disparador \"beforeFind\". Esta correcci\u00f3n se introdujo en el commit \"be4c7e23c6\" y se ha incluido en las versiones 6.2.2 y 5.5.5. Se recomienda a los usuarios que actualicen. Los usuarios que no puedan actualizarse deber\u00edan utilizar las capas de seguridad del servidor de an\u00e1lisis sint\u00e1ctico para gestionar los niveles de acceso con permisos de clase y control de acceso a nivel de objeto, que deber\u00edan utilizarse en lugar de las capas de seguridad personalizadas en los disparadores de Cloud Code. " } ], "metrics": { "cvssMetricV31": [ { "source": "security-advisories@github.com", "type": "Secondary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE" }, "exploitabilityScore": 3.9, "impactScore": 3.6 }, { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE" }, "exploitabilityScore": 3.9, "impactScore": 3.6 } ] }, "weaknesses": [ { "source": "security-advisories@github.com", "type": "Primary", "description": [ { "lang": "en", "value": "CWE-670" } ] } ], "configurations": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:parseplatform:parse-server:*:*:*:*:*:node.js:*:*", "versionEndExcluding": "5.5.5", "matchCriteriaId": "B217E81D-A0EE-4E93-819E-277EF6C68C6D" }, { "vulnerable": true, "criteria": "cpe:2.3:a:parseplatform:parse-server:*:*:*:*:*:node.js:*:*", "versionStartIncluding": "6.0.0", "versionEndExcluding": "6.2.2", "matchCriteriaId": "7A41F53D-867D-4CC6-88F8-BED9FDD84524" } ] } ] } ], "references": [ { "url": "https://docs.parseplatform.org/parse-server/guide/#security", "source": "security-advisories@github.com", "tags": [ "Product" ] }, { "url": "https://github.com/parse-community/parse-server/commit/be4c7e23c63a2fb690685665cebed0de26be05c5", "source": "security-advisories@github.com", "tags": [ "Patch" ] }, { "url": "https://github.com/parse-community/parse-server/releases/tag/5.5.5", "source": "security-advisories@github.com", "tags": [ "Release Notes" ] }, { "url": "https://github.com/parse-community/parse-server/releases/tag/6.2.2", "source": "security-advisories@github.com", "tags": [ "Release Notes" ] }, { "url": "https://github.com/parse-community/parse-server/security/advisories/GHSA-fcv6-fg5r-jm9q", "source": "security-advisories@github.com", "tags": [ "Mitigation", "Vendor Advisory" ] }, { "url": "https://docs.parseplatform.org/parse-server/guide/#security", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Product" ] }, { "url": "https://github.com/parse-community/parse-server/commit/be4c7e23c63a2fb690685665cebed0de26be05c5", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Patch" ] }, { "url": "https://github.com/parse-community/parse-server/releases/tag/5.5.5", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Release Notes" ] }, { "url": "https://github.com/parse-community/parse-server/releases/tag/6.2.2", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Release Notes" ] }, { "url": "https://github.com/parse-community/parse-server/security/advisories/GHSA-fcv6-fg5r-jm9q", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Mitigation", "Vendor Advisory" ] } ] }