Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2021-31810

5.8 · MEDIUM
Published Jul 13, 2021 ruby-lang EPSS 3.05% (87th pctl)

Overview

CVE-2021-31810 is a medium-severity vulnerability affecting ruby-lang ruby. It was published on July 13, 2021 and has a CVSS 3.1 base score of 5.8 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.8, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical 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

Check the references section for vendor advisories and patches from ruby-lang. Update ruby to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
ruby-lang ruby 0 Affected
oracle jd_edwards_enterpriseone_tools >= 0, < 9.2.6.1 Affected

Frequently Asked Questions

What is CVE-2021-31810?

CVE-2021-31810 is a medium-severity vulnerability affecting ruby-lang ruby. It was published on July 13, 2021 and has a CVSS 3.1 base score of 5.8 (MEDIUM).

How severe is CVE-2021-31810?

This vulnerability has a CVSS 3.1 base score of 5.8, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2021-31810?

Check the references section for vendor advisories and patches from ruby-lang. Update ruby to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-31810?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-31810 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.