CVE-2021-31810

Published on: 07/13/2021 12:00:00 AM UTC

Last Modified on: 11/06/2021 03:24:00 AM UTC

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N

Certain versions of Debian Linux from Debian contain the following vulnerability:

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

  • CVE-2021-31810 has been assigned by URL Logo [email protected] to track the vulnerability - currently rated as MEDIUM severity.

CVSS3 Score: 5.8 - MEDIUM

Attack
Vector
Attack
Complexity
Privileges
Required
User
Interaction
NETWORK LOW NONE NONE
Scope Confidentiality
Impact
Integrity
Impact
Availability
Impact
CHANGED LOW NONE NONE

CVSS2 Score: 5 - MEDIUM

Access
Vector
Access
Complexity
Authentication
NETWORK LOW NONE
Confidentiality
Impact
Integrity
Impact
Availability
Impact
PARTIAL NONE NONE

CVE References

Description Tags Link
HackerOne hackerone.com
text/html
URL Logo MISC hackerone.com/reports/1145454
[SECURITY] Fedora 34 Update: ruby-3.0.2-149.fc34 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
text/html
URL Logo FEDORA FEDORA-2021-36cdab1f8d
CVE-2021-31810: Trusting FTP PASV responses vulnerability in Net::FTP www.ruby-lang.org
text/html
URL Logo MISC www.ruby-lang.org/en/news/2021/07/07/trusting-pasv-responses-in-net-ftp/
[SECURITY] [DLA 2780-1] ruby2.3 security update lists.debian.org
text/html
URL Logo MLIST [debian-lts-announce] 20211013 [SECURITY] [DLA 2780-1] ruby2.3 security update
CVE-2021-31810 Ruby Vulnerability in NetApp Products | NetApp Product Security security.netapp.com
text/html
URL Logo CONFIRM security.netapp.com/advisory/ntap-20210917-0001/

Related QID Numbers

  • 159326 Oracle Enterprise Linux Security Update for ruby:2.7 (ELSA-2021-3020)
  • 178838 Debian Security Update for ruby2.3 (DLA 2780-1)
  • 198440 Ubuntu Security Notification for Ruby vulnerabilities (USN-5020-1)
  • 239536 Red Hat Update for ruby:2.7 (RHSA-2021:3020)
  • 239644 Red Hat Update for rh-ruby27-ruby (RHSA-2021:3559)
  • 239651 Red Hat Update for rh-ruby27-ruby (RHSA-2021:3559)
  • 239736 Red Hat Update for rh-ruby30-ruby (RHSA-2021:3982)
  • 281749 Fedora Security Update for ruby (FEDORA-2021-36cdab1f8d)
  • 670835 EulerOS Security Update for ruby (EulerOS-SA-2021-2721)
  • 670875 EulerOS Security Update for ruby (EulerOS-SA-2021-2696)
  • 670957 EulerOS Security Update for ruby (EulerOS-SA-2021-2643)
  • 751413 SUSE Enterprise Linux Security Update for ruby2.5 (SUSE-SU-2021:3838-1)
  • 751423 SUSE Enterprise Linux Security Update for ruby2.1 (SUSE-SU-2021:3837-1)
  • 751432 OpenSUSE Security Update for ruby2.5 (openSUSE-SU-2021:3838-1)
  • 751459 OpenSUSE Security Update for ruby2.5 (openSUSE-SU-2021:1535-1)
  • 940383 AlmaLinux Security Update for ruby:2.7 (ALSA-2021:3020)

Known Affected Configurations (CPE V2.3)

Type Vendor Product Version Update Edition Language
Operating
System
DebianDebian Linux9.0AllAllAll
Operating
System
FedoraprojectFedora34AllAllAll
ApplicationRuby-langRubyAllAllAllAll
ApplicationRuby-langRubyAllAllAllAll
ApplicationRuby-langRubyAllAllAllAll
  • cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*:
  • cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*:
  • cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*:
  • cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*:
  • cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*:

Social Mentions

Source Title Posted (UTC)
Twitter Icon @tekkie CVE-2021-31810: Trusting FTP PASV responses vulnerability in Net::FTP ruby-lang.org/en/news/2021/0… 2021-07-07 12:28:09
Twitter Icon @rubylangorg CVE-2021-31810: Trusting FTP PASV responses vulnerability in Net::FTP ift.tt/2UqUvQQ 2021-07-07 12:40:11
Twitter Icon @rubylandnews Ruby News ➜ CVE-2021-31810: Trusting FTP PASV responses vulnerability in Net::FTP ruby-lang.org/en/news/2021/0… 2021-07-07 13:21:45
Twitter Icon @songsthatsaved Includes security fixes for vulnerabilities in Net::IMAP (CVE-2021-32066) and Net::FTP (CVE-2021-31810). twitter.com/rubylangorg/st… 2021-07-07 23:40:02
Twitter Icon @nilab 「CVE-2021-31810: Trusting FTP PASV responses vulnerability in Net::FTP」 「CVE-2021-32066: A StartTLS stripping vulne… twitter.com/i/web/status/1… 2021-07-09 22:43:23
Twitter Icon @CVEreport CVE-2021-31810 : 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 malic… twitter.com/i/web/status/1… 2021-07-13 13:06:48
Reddit Logo Icon /r/netcve CVE-2021-31810 2021-07-13 13:41:25
© CVE.report 2022 Twitter Nitter Twitter Viewer |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report