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 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).
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
5.8 MEDIUM
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
mitreCNA
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 71%
VendorProductVersion
ruby-langruby
𝑥
≤ 2.6.7
ruby-langruby
2.7.0 ≤
𝑥
≤ 2.7.3
ruby-langruby
3.0.0 ≤
𝑥
≤ 3.0.1
debiandebian_linux
9.0
oraclejd_edwards_enterpriseone_tools
𝑥
< 9.2.6.1
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
jruby
bookworm
9.3.9.0+ds-8
fixed
stretch
no-dsa
sid
9.4.8.0+ds-1
fixed
trixie
9.4.8.0+ds-1
fixed
ruby2.7
bullseye
2.7.4-1+deb11u1
fixed
stretch
no-dsa
bullseye (security)
2.7.4-1+deb11u2
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
ruby1.9.1
jammy
dne
impish
dne
hirsute
dne
groovy
dne
focal
dne
bionic
dne
xenial
dne
trusty
dne
ruby2.0
jammy
dne
impish
dne
hirsute
dne
groovy
dne
focal
dne
bionic
dne
xenial
dne
trusty
dne
ruby2.3
jammy
dne
impish
dne
hirsute
dne
groovy
dne
focal
dne
bionic
dne
xenial
Fixed 2.3.1-2~ubuntu16.04.16+esm1
released
trusty
dne
ruby2.5
jammy
dne
impish
dne
hirsute
dne
groovy
dne
focal
dne
bionic
Fixed 2.5.1-1ubuntu1.10
released
xenial
dne
trusty
dne
ruby2.7
impish
Fixed 2.7.4-1ubuntu1
released
hirsute
Fixed 2.7.2-4ubuntu1.2
released
groovy
Fixed 2.7.1-3ubuntu1.4
released
focal
Fixed 2.7.0-5ubuntu1.5
released
bionic
dne
xenial
dne
trusty
dne