CVE-2021-31810: debian debian_linux
Vulnerability summary
CVE-2021-31810 is a medium (CVSS 5.8) vulnerability in debian debian_linux. EPSS estimates a 3.05% chance of exploitation in the next 30 days, higher than 87.5% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 5.8, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 30 · Related 14Timeline
- 13-07-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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).
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · AlpineEcosystem advisory · calculated5.8MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
- OSV · UbuntuEcosystem advisory · calculated5.8MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
- OSV · DebianEcosystem advisory · calculated5.8MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
EPSS trend
Probability
3.05%
Chance of exploitation in the next 30 days
Percentile
88%
Versus all other CVEs
30-day change
No change 0.00 pp
From 3.05% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (hackerone.com)
Maturity: unknown
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu3 products
- ruby2.3< 2.3.1-2~ubuntu16.04.16+esm1
- ruby2.5< 2.5.1-1ubuntu1.10
- ruby2.7< 2.7.0-5ubuntu1.5
Debian2 products
- jruby< 9.3.9.0+ds-1
- debian_linuxEOL9.0
Alpine1 product
- ruby≥ 2.7.0, < 2.6.8-r0 | ≥ 2.7.0, < 2.7.4-r0
Oracle1 product
- jd_edwards_enterpriseone_tools< 9.2.6.1
Ruby-lang1 product
- ruby≤ 2.6.7 | ≥ 2.7.0, ≤ 2.7.3 | ≥ 3.0.0, ≤ 3.0.1
5 vendors · 8 products
References
14 links- lists.fedoraproject.org/archives/…Vendor Advisory
- security.netapp.com/advisory/ntap-20210917-0001/Third Party Advisory
- security.gentoo.org/glsa/202401-27Vendor Advisory