Rapid7

vulnerability

FreeBSD: VID-7ed5779c-e4c7-11eb-91d7-08002728f74c (CVE-2021-31810): Ruby -- multiple vulnerabilities

Severity
5
CVSS
(AV:N/AC:L/Au:N/C:P/I:N/A:N)
Published
Jul 14, 2021
Added
Nov 4, 2022
Modified
Jun 15, 2026

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

Solutions

freebsd-upgrade-package-ruby26freebsd-upgrade-package-rubyfreebsd-upgrade-package-ruby30
Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.