{"api_version":"1","generated_at":"2026-07-23T23:23:22+00:00","cve":"CVE-2019-5624","urls":{"html":"https://cve.report/CVE-2019-5624","api":"https://cve.report/api/cve/CVE-2019-5624.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2019-5624","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2019-5624"},"summary":{"title":"CVE-2019-5624","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.","state":"PUBLIC","assigner":"cve@rapid7.com","published_at":"2019-04-30 17:29:00","updated_at":"2023-02-01 02:22:00"},"problem_types":["CWE-22"],"metrics":[],"references":[{"url":"https://github.com/rapid7/metasploit-framework/pull/11716","name":"https://github.com/rapid7/metasploit-framework/pull/11716","refsource":"CONFIRM","tags":["Exploit","Patch","Third Party Advisory"],"title":"Zip import directory traversal mitigation by sgonzalez-r7 · Pull Request #11716 · rapid7/metasploit-framework · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://blog.doyensec.com/2019/04/24/rubyzip-bug.html","name":"https://blog.doyensec.com/2019/04/24/rubyzip-bug.html","refsource":"MISC","tags":["Exploit","Third Party Advisory"],"title":"On insecure zip handling, Rubyzip and Metasploit RCE (CVE-2019-5624) · Doyensec's Blog","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://help.rapid7.com/metasploit/release-notes/archive/2019/04/#20190416","name":"https://help.rapid7.com/metasploit/release-notes/archive/2019/04/#20190416","refsource":"CONFIRM","tags":["Release Notes","Vendor Advisory"],"title":"Metasploit Release Notes Archive - April 2019","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-5624","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-5624","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"LEGACY","value":"This issue was discovered by Doyensec, and reported privately by Luca Carettoni.","lang":""}],"nvd_cpes":[{"cve_year":"2019","cve_id":"5624","vulnerable":"1","versionEndIncluding":"4.14.0","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"rapid7","cpe5":"metasploit","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","generator":{"engine":"Vulnogram 0.0.6"},"CVE_data_meta":{"ID":"CVE-2019-5624","ASSIGNER":"cve@rapid7.com","DATE_PUBLIC":"2019-04-24T18:00:00.000Z","TITLE":"Rapid7 Metasploit Framework Zip Import Directory Traversal","AKA":"","STATE":"PUBLIC"},"source":{"discovery":"USER"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"Rapid7","product":{"product_data":[{"product_name":"Metasploit Framework","version":{"version_data":[{"version_name":"4.14.0","version_affected":"<=","version_value":"4.14.0","platform":""}]}}]}}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')"}]}]},"description":{"description_data":[{"lang":"eng","value":"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."}]},"references":{"reference_data":[{"refsource":"CONFIRM","url":"https://github.com/rapid7/metasploit-framework/pull/11716","name":"https://github.com/rapid7/metasploit-framework/pull/11716"},{"refsource":"CONFIRM","url":"https://help.rapid7.com/metasploit/release-notes/archive/2019/04/#20190416","name":"https://help.rapid7.com/metasploit/release-notes/archive/2019/04/#20190416"},{"refsource":"MISC","url":"https://blog.doyensec.com/2019/04/24/rubyzip-bug.html","name":"https://blog.doyensec.com/2019/04/24/rubyzip-bug.html"}]},"configuration":[],"impact":{"cvss":{"version":"3.0","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"HIGH","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE","vectorString":"CVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N","baseScore":7.4,"baseSeverity":"HIGH"}},"exploit":[],"work_around":[],"solution":[{"lang":"eng","value":"Update to version 4.15.0 or later."}],"credit":[{"lang":"eng","value":"This issue was discovered by Doyensec, and reported privately by Luca Carettoni."}]},"nvd":{"publishedDate":"2019-04-30 17:29:00","lastModifiedDate":"2023-02-01 02:22:00","problem_types":["CWE-22"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.3,"baseSeverity":"HIGH"},"exploitabilityScore":1.3,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":6.5},"severity":"MEDIUM","exploitabilityScore":8,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:rapid7:metasploit:*:*:*:*:*:*:*:*","versionEndIncluding":"4.14.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2019","CveId":"5624","Ordinal":"143245","Title":"CVE-2019-5624","CVE":"CVE-2019-5624","Year":"2019"},"notes":[{"CveYear":"2019","CveId":"5624","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2019","CveId":"5624","Ordinal":"2","NoteData":"2019-04-30","Type":"Other","Title":"Published"},{"CveYear":"2019","CveId":"5624","Ordinal":"3","NoteData":"2019-04-30","Type":"Other","Title":"Modified"}]}}}