{"answers":{"affected":"5 open source packages ship an affected version, including parse-server and parse. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-41058 in the wild and no public exploit code.","fix":"Upgrade parse-server to a fixed version for your release line: 5.5.5 or 6.2.2.","what":"CVE-2023-41058 is a high-severity missing authorization vulnerability in Parseplatform Parse-Server, published on 4 Sep 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-41058 and fix it if it is affected.\n\nWhat it is: CVE-2023-41058 is a high-severity missing authorization vulnerability in Parseplatform Parse-Server, published on 4 Sep 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-41058 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- parse-server (npm): affected from 1.0.0; fixed in 5.5.5\n- parse-server (npm): affected from 1.0.0; fixed in 5.5.5\n- parse-server (npm): affected from 6.0.0; fixed in 6.2.2\n- parse-server (npm): affected from 6.0.0; fixed in 6.2.2\n- parse (Bitnami): affected all versions; fixed in 5.5.5, 6.2.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-41058/ (Markdown: https://insights.sbomify.com/CVE-2023-41058/index.md)","id":"CVE-2023-41058","markdown":"https://insights.sbomify.com/CVE-2023-41058/index.md","name":"CVE-2023-41058","record":{"aliases":["BIT-parse-2023-41058","GHSA-fcv6-fg5r-jm9q"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["security_bypass","data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"Parse Server backend","requires_auth":"none","summary":"Attackers can bypass security restrictions in Parse Server if beforeFind triggers are used for access control, potentially reading unauthorized data.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"parse-server","vendor":"parseplatform"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-670","name":"Always-Incorrect Control Flow Implementation"}],"description":"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.","ecosystems":["Bitnami","npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Trigger `beforeFind` not invoked in internal query pipeline in parse-server","id":"CVE-2023-41058","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"parseplatform:parse-server","products":["parseplatform:parse-server"],"type":"missing_authorization","year":"2023"},"n_packages":5,"n_references":5,"next":{"headline":"Memory corruption in iOS and iPadOS","id":"CVE-2023-41060"},"packages":[{"ecosystem":"Bitnami","fixed":["5.5.5","6.2.2"],"introduced":["0","6.0.0"],"last_affected":[],"package":"parse","purl":"pkg:bitnami/parse","source":"BIT-parse-2023-41058"},{"ecosystem":"npm","fixed":["5.5.5"],"introduced":["1.0.0"],"last_affected":[],"package":"parse-server","purl":null,"source":"GHSA-fcv6-fg5r-jm9q"},{"ecosystem":"npm","fixed":["5.5.5"],"introduced":["1.0.0"],"last_affected":[],"package":"parse-server","purl":"pkg:npm/parse-server","source":"GHSA-fcv6-fg5r-jm9q"},{"ecosystem":"npm","fixed":["6.2.2"],"introduced":["6.0.0"],"last_affected":[],"package":"parse-server","purl":null,"source":"GHSA-fcv6-fg5r-jm9q"},{"ecosystem":"npm","fixed":["6.2.2"],"introduced":["6.0.0"],"last_affected":[],"package":"parse-server","purl":"pkg:npm/parse-server","source":"GHSA-fcv6-fg5r-jm9q"}],"prev":{"headline":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in hyper-bump-it","id":"CVE-2023-41057"},"products":["parse-server"],"published":"2023-09-04","related":[{"cvss_score":10,"headline":"Parse Server role escalation and CLP bypass via direct `_Join` table write","id":"CVE-2026-30966","kev_date_added":null,"published":"2026-03-10"},{"cvss_score":10,"headline":"Parse Server literalizeRegexPart SQL Injection","id":"CVE-2024-27298","kev_date_added":null,"published":"2024-03-01"},{"cvss_score":10,"headline":"Command Injection in Parse server","id":"CVE-2022-24760","kev_date_added":null,"published":"2022-03-11"},{"cvss_score":9.9,"headline":"Parse Server session token exfiltration via `redirectClassNameForKey` query parameter","id":"CVE-2026-30965","kev_date_added":null,"published":"2026-03-10"},{"cvss_score":9.8,"headline":"Parse Server vulnerable to remote code execution via MongoDB BSON parser through prototype pollution","id":"CVE-2023-36475","kev_date_added":null,"published":"2023-06-28"},{"cvss_score":9.8,"headline":"Parse Server vulnerable to Remote Code Execution via prototype pollution in MongoDB BSON parser","id":"CVE-2022-39396","kev_date_added":null,"published":"2022-11-10"},{"cvss_score":9.3,"headline":"Parse Server: Account takeover via operator injection in authentication data identifier","id":"CVE-2026-32248","kev_date_added":null,"published":"2026-03-12"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-09-30","vendors":["parse-community"]},"summary":"Attackers can bypass security restrictions in Parse Server if beforeFind triggers are used for access control, potentially reading unauthorized data.","url":"https://insights.sbomify.com/CVE-2023-41058/"}