CVE-2020-7385
HIGH 8.8CVSS 3.1Metasploit Framework user exposes Metasploit to same deserialization issue that is exploited by that module
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.
- Published
- 23 Apr 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@rapid7.com
- NVD status
- Modified
- Weakness
- CWE-502
- Also known as
- GHSA-xgww-h98f-24qf
- Sources
- NVDJSONOSV GHSA-xgww-h98f-24qfJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | cve@rapid7.com (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | rapid7 | metasploitcpe:2.3:a:rapid7:metasploit:*:*:*:*:*:*:*:* |
< 4.19.0 | 4.19.0 |
| OSV | RubyGems | metasploit-framework | < 4.19.0 | 4.19.0 |
References
- https://github.com/rapid7/metasploit-framework/pull/14300 · Exploit, Patch, Third Party Advisory, WEB
- https://github.com/rapid7/metasploit-framework/pull/14335 · Patch, Third Party Advisory, WEB
- https://help.rapid7.com/metasploit/release-notes/archive/2020/10/ · Release Notes, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-7385 · ADVISORY
- https://github.com/rapid7/metasploit-framework · PACKAGE
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 23 Apr 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 May 2022)