Ruby up to 2.6.7/2.7.3/3.0.1 PASV Response Net::FTP information disclosure
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 3.5 | $0-$5k | 0.00 |
Summary
A vulnerability, which was classified as problematic, has been found in Ruby up to 2.6.7/2.7.3/3.0.1. This vulnerability affects the function Net::FTP of the component PASV Response Handler. The manipulation leads to information disclosure.
This vulnerability is referenced as CVE-2021-31810. No exploit is available.
Details
A vulnerability, which was classified as problematic, has been found in Ruby up to 2.6.7/2.7.3/3.0.1 (Programming Language Software). This issue affects the function Net::FTP of the component PASV Response Handler. The manipulation with an unknown input leads to a information disclosure vulnerability. Using CWE to declare the problem leads to CWE-200. The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. Impacted is confidentiality.
The weakness was published 07/13/2021. The advisory is shared at ruby-lang.org. The identification of this vulnerability is CVE-2021-31810. Technical details are known, but no exploit is available. MITRE ATT&CK project uses the attack technique T1592 for this issue.
The vulnerability scanner Nessus provides a plugin with the ID 234723 (Oracle Linux 8 : ruby:3.1 (ELSA-2025-4063)), which helps to determine the existence of the flaw in a target environment.
There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.
The vulnerability is also documented in the databases at Tenable (234723) and CERT Bund (WID-SEC-2022-1305). If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Affected
- Debian Linux
- Amazon Linux 2
- Red Hat Enterprise Linux
- Ubuntu Linux
- SUSE Linux
- Oracle Linux
- Gentoo Linux
- Open Source Arch Linux
- Open Source Ruby
- SUSE openSUSE
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 3.5VulDB Meta Temp Score: 3.5
VulDB Base Score: 3.5
VulDB Temp Score: 3.5
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Information disclosureCWE: CWE-200 / CWE-284 / CWE-266
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Partially
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 234723
Nessus Name: Oracle Linux 8 : ruby:3.1 (ELSA-2025-4063)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔍
Timeline
04/26/2021 🔍07/13/2021 🔍
07/13/2021 🔍
05/09/2026 🔍
Sources
Advisory: ruby-lang.orgStatus: Confirmed
CVE: CVE-2021-31810 (🔍)
GCVE (CVE): GCVE-0-2021-31810
GCVE (VulDB): GCVE-100-178445
CERT Bund: WID-SEC-2022-1305 - Ruby: Mehrere Schwachstellen
Entry
Created: 07/13/2021 17:34Updated: 05/09/2026 18:30
Changes: 07/13/2021 17:34 (37), 07/16/2021 12:30 (2), 04/23/2025 08:58 (16), 05/09/2026 18:30 (7)
Complete: 🔍
Cache ID: 216::103
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
No comments yet. Languages: en.
Please log in to comment.