Live threats

All CVEs / Rapid7

CVE-2020-7385Rapid7 Metasploit

High 8.8 No auth needed

Priority
68
CVSS 3.1
8.8
EPSS
1.8%
probability of exploitation in 30 days · percentile 78
Auth required
No
Published
Apr 23, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-502
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

By launching the drb_remote_codeexec exploit, a Metasploit Framework user will inadvertently expose Metasploit to the same deserialization issue that is exploited by that module, due to the reliance on the vulnerable Distributed Ruby class functions. Since Metasploit Framework typically runs with elevated privileges, this can lead to a system compromise on the Metasploit workstation. Note that an attacker would have to lie in wait and entice the Metasploit user to run the affected module against a malicious endpoint in a "hack-back" type of attack. Metasploit is only vulnerable when the drb_remote_codeexec module is running. In most cases, this cannot happen automatically.

Original NVD text.

What to do

  1. Apply the vendor's security update for Metasploit.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems metasploit-framework < 4.19.0 4.19.0 gem "metasploit-framework", ">= 4.19.0"

Per OSV / GitHub Advisories (GHSA-xgww-h98f-24qf). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
rapid7metasploit< 4.19.0

Official sources

References

Links published by the sources. Open them with care.