cvedb.io
CVE-2021-31810
MEDIUM · CVSS 5.8
EPSS exploitation probability: 0%
Published 2021-07-13T13:15:09.243 · Last modified 2026-06-17T03:52:16.460

Summary

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

Affected products

ruby-lang — ruby

Does this affect you?

Add your gear to cvedb and we'll alert you only when ruby-lang ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.