CVE-2021-31810 — Resource Exposure in Ruby
Severity
5.8MEDIUMNVD
OSV7.0
EPSS
0.6%
top 29.63%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedJul 13
Latest updateMay 24
Description
An issue was discovered in Ruby through 2.6.7, 2.7.x through 2.7.3, and 3.x through 3.0.1. A malicious FTP server can use the PASV response to trick Net::FTP into connecting back to a given IP address and port. This potentially makes curl extract information about services that are otherwise private and not disclosed (e.g., the attacker can conduct port scans and service banner extractions).
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:NExploitability: 3.9 | Impact: 1.4
Affected Packages3 packages
Also affects: Debian Linux 9.0
Patches
🔴Vulnerability Details
4📋Vendor Advisories
3💬Community
1Bugzilla▶
CVE-2021-31810 ruby: FTP PASV command response can cause Net::FTP to connect to arbitrary host↗2021-07-07