{"answers":{"affected":"1 open source package ship an affected version, including espocrm. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-5965 in the wild and no public exploit code.","fix":"Upgrade espocrm to 7.5.2 or later.","what":"CVE-2023-5965 is a medium-severity vulnerability in EspoCRM, published on 30 Nov 2023. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-5965 and fix it if it is affected.\n\nWhat it is: CVE-2023-5965 is a medium-severity vulnerability in EspoCRM, published on 30 Nov 2023. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-5965 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- espocrm (Bitnami): affected all versions; fixed in 7.5.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-5965/ (Markdown: https://insights.sbomify.com/CVE-2023-5965/index.md)","id":"CVE-2023-5965","markdown":"https://insights.sbomify.com/CVE-2023-5965/index.md","name":"CVE-2023-5965","record":{"aliases":["BIT-espocrm-2023-5965","GHSA-92xg-872w-r5g2"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"EspoCRM","requires_auth":"high_privilege","summary":"An authenticated privileged attacker can upload a malicious zip file to execute arbitrary PHP code on the EspoCRM server.","user_interaction":"not_required","vuln_class":"file_upload"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"INCIBE","cpe":[{"product":"espocrm","vendor":"espocrm"}],"cvss":{"score":4.7,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"description":"An authenticated privileged attacker could upload a specially crafted zip to the EspoCRM server in version 7.2.5, via the update form, which could lead to arbitrary PHP code execution.","ecosystems":["Bitnami"],"exploits":{"exploitdb":0,"first_seen":"2024-04-19","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2024-04-19T04:48:43Z","kind":"github_poc","ref":"https://github.com/josemlwdf/CVE-2023-5965","stars":0,"title":"PoC for Espo CRM 7.2.4 CVE-2023-5965 \u0026 CVE-2023-5966"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Unrestricted Upload of File with Dangerous Type in EspoCRM","id":"CVE-2023-5965","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"file_upload","year":"2023"},"n_packages":1,"n_references":1,"next":{"headline":"Unrestricted Upload of File with Dangerous Type in EspoCRM","id":"CVE-2023-5966"},"packages":[{"ecosystem":"Bitnami","fixed":["7.5.2"],"introduced":["0"],"last_affected":[],"package":"espocrm","purl":"pkg:bitnami/espocrm","source":"BIT-espocrm-2023-5965"}],"prev":{"headline":"1E-Exchange-DisplayMessage instruction allows for arbitrary code execution","id":"CVE-2023-5964"},"products":["EspoCRM"],"published":"2023-11-30","related":[{"cvss_score":10,"headline":"Path traversal in n/a","id":"CVE-2014-7985","kev_date_added":null,"published":"2014-10-31"},{"cvss_score":9.1,"headline":"Path traversal in espocrm","id":"CVE-2026-33656","kev_date_added":null,"published":"2026-04-22"},{"cvss_score":8.8,"headline":"File upload in n/a","id":"CVE-2022-38843","kev_date_added":null,"published":"2022-09-16"},{"cvss_score":8.8,"headline":"Information disclosure in n/a","id":"CVE-2019-14351","kev_date_added":null,"published":"2019-07-28"},{"cvss_score":8.6,"headline":"EspoCRM 5.7.0 \u003c 5.9.0 - Two-Factor Authentication Bypass via Auth Token Reuse Between Accounts with Identical Passwords","id":"CVE-2020-37094","kev_date_added":null,"published":"2026-02-03"},{"cvss_score":8,"headline":"Code injection in n/a","id":"CVE-2022-38844","kev_date_added":null,"published":"2022-09-16"},{"cvss_score":7.2,"headline":"EspoCRM has Admin TemplateManager path traversal that allows arbitrary file read write and delete","id":"CVE-2026-33733","kev_date_added":null,"published":"2026-04-22"}],"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":"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-04-20","vendors":["EspoCRM"]},"summary":"An authenticated privileged attacker can upload a malicious zip file to execute arbitrary PHP code on the EspoCRM server.","url":"https://insights.sbomify.com/CVE-2023-5965/"}