{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2019-5624 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2019-5624 yet. Limit exposure of the affected software until one is available.","what":"CVE-2019-5624 is a high-severity path traversal vulnerability in Rapid7 Metasploit Framework, published on 30 Apr 2019. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2019-5624 and fix it if it is affected.\n\nWhat it is: CVE-2019-5624 is a high-severity path traversal vulnerability in Rapid7 Metasploit Framework, published on 30 Apr 2019. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2019-5624 in the wild and no public exploit code.\n\nAffected product: Rapid7 Metasploit Framework. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2019-5624/ (Markdown: https://insights.sbomify.com/CVE-2019-5624/index.md)","id":"CVE-2019-5624","markdown":"https://insights.sbomify.com/CVE-2019-5624/index.md","name":"CVE-2019-5624","record":{"aliases":["GHSA-9j7m-jqrm-mcj3"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Metasploit Framework","requires_auth":"high_privilege","summary":"Attackers can execute arbitrary code via path traversal in the Zip import function of Metasploit Framework.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"rapid7","cpe":[{"product":"metasploit","vendor":"rapid7"}],"cvss":{"score":7.4,"severity":"high","source":"cna","vector":"CVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N","version":"3.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"Rapid7 Metasploit Framework suffers from an instance of CWE-22, Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in the Zip import function of Metasploit. Exploiting this vulnerability can allow an attacker to execute arbitrary code in Metasploit at the privilege level of the user running Metasploit. This issue affects: Rapid7 Metasploit Framework version 4.14.0 and prior versions.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2019-05-02","github_poc":1,"max_poc_stars":13,"metasploit":0,"nuclei":0,"refs":[{"date":"2019-05-02T14:54:08Z","kind":"github_poc","ref":"https://github.com/VoidSec/CVE-2019-5624","stars":13,"title":"A proof of concept for Metasploit's CVE-2019-5624 vulnerability (Rubyzip insecure ZIP handling RCE) "}],"tier":"poc_unverified"},"has_fix":null,"headline":"Rapid7 Metasploit Framework Zip Import Directory Traversal","id":"CVE-2019-5624","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2019"},"n_packages":0,"n_references":3,"next":{"headline":"Eaton Halo Home Android App Insecure Storage","id":"CVE-2019-5625"},"packages":[],"prev":{"headline":"Accellion File Transfer Appliance Improper Neutralization of Special Elements used in a Command ('Command Injection')","id":"CVE-2019-5623"},"products":["Metasploit Framework"],"published":"2019-04-30","related":[{"cvss_score":8.1,"headline":"Metasploit Framework 'drb_remote_codeexec' code execution","id":"CVE-2020-7385","kev_date_added":null,"published":"2021-04-23"},{"cvss_score":8.1,"headline":"Rapid7 Metasploit Framework Relative Path Traversal in telpho10_credential_dump module","id":"CVE-2020-7377","kev_date_added":null,"published":"2020-08-24"},{"cvss_score":7.8,"headline":"Other in Metasploit Pro","id":"CVE-2017-5235","kev_date_added":null,"published":"2017-03-02"},{"cvss_score":7.5,"headline":"Rapid7 Metasploit HTTP Handler Denial of Service","id":"CVE-2019-5645","kev_date_added":null,"published":"2020-09-01"},{"cvss_score":7.1,"headline":"Rapid7 Metasploit Framework Relative Path Traversal in enum_osx module","id":"CVE-2020-7376","kev_date_added":null,"published":"2020-08-24"},{"cvss_score":7.1,"headline":"Path traversal in Metasploit","id":"CVE-2017-5228","kev_date_added":null,"published":"2017-03-02"}],"sources":[{"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-17","vendors":["Rapid7"]},"summary":"Attackers can execute arbitrary code via path traversal in the Zip import function of Metasploit Framework.","url":"https://insights.sbomify.com/CVE-2019-5624/"}