5.8

CVE-2021-31810: debian debian_linux

Modified
AliasesALPINE-CVE-2021-31810UBUNTU-CVE-2021-31810DEBIAN-CVE-2021-31810
Published 13-07-2021Last modified 03-08-2024

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.

Priority
Routine

Not severe (CVSS 5.8, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.8/10
010
Medium · v3.1 (NVD)
EPSS score
3.05%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 30 · Related 14

Timeline

  1. 13-07-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last 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

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

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (hackerone.com)

    Maturity: unknown

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

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
Alpine1 product
  • ruby≥ 2.7.0, < 2.6.8-r0 | ≥ 2.7.0, < 2.7.4-r0
Oracle1 product
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
Show all 14 references