CVE-2021-31810 The advisory has been revoked - it doesn't affect any version of package ruby2.5  (opens in a new tab)


Threat Intelligence

EPSS
0.29% (69th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-SLES154-RUBY25-2807961
  • published4 May 2022
  • disclosed3 May 2022

Introduced: 3 May 2022

CVE-2021-31810  (opens in a new tab)

Amendment

The SLES security team deemed this advisory irrelevant for SLES:15.4.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby2.5 package and not the ruby2.5 package as distributed by SLES.

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