CVE-2021-31810

Medium

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

SeverityMedium
CVSS5.8
Exploit probability—
ProductRuby
PublishedJul 13, 2021
First seenJul 13, 2021

How to fix

Affected products

ProductAffected versionsFixed in
ruby-lang rubyv ≤ 2.6.7, 2.7.0 ≤ v ≤ 2.7.3, 3.0.0 ≤ v ≤ 3.0.1—
debian debian_linux9.0—
oracle jd_edwards_enterpriseone_toolsv < 9.2.6.19.2.6.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.