MEDIUM · 5.8

CVE-2021-31810

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

Vulnerability 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 Score

5.8

MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE

Affected Products

VendorProductVersions
Ruby-LangRuby<= 2.6.7
FedoraprojectFedora34
DebianDebian Linux9.0
OracleJd Edwards Enterpriseone Tools< 9.2.6.1

References

FAQ

What is CVE-2021-31810?

CVE-2021-31810 is a vulnerability with a CVSS score of 5.8 (MEDIUM). 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...

How severe is CVE-2021-31810?

CVE-2021-31810 has been rated MEDIUM with a CVSS base score of 5.8/10. Review the CVSS metrics above for detailed severity breakdown.

Is there a patch for CVE-2021-31810?

Check the references section above for vendor advisories and patch information. Affected products include: Ruby-Lang Ruby, Fedoraproject Fedora, Debian Debian Linux, Oracle Jd Edwards Enterpriseone Tools.