CVE-2021-31810

ruby: FTP PASV command response can cause Net::FTP to connect to arbitrary host

Published Jul 13, 2021 CVSS 3.1 · 5.8 Medium EPSS 3.0% KEV · Not listed
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).

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-2780-1 ruby2.3 security update
Debian DLA Debian DLA DLA-3408-1 jruby security update
Debian DSA Debian DSA DSA-5066-1 ruby2.5 security update
Ubuntu USN Ubuntu USN USN-5020-1 Ruby vulnerabilities
History

No history.