CVE-2021-31810

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-31810
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-31810.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-31810
Aliases
Downstream
Related
Published
2021-07-13T13:15:09Z
Modified
2025-08-09T20:01:27Z
Severity
  • 5.8 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N CVSS Calculator
Summary
[none]
Details

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

References

Affected packages