CVE-2021-31810

Publication date 13 July 2021

Last updated 24 July 2024


Ubuntu priority

Cvss 3 Severity Score

5.8 · Medium

Score breakdown

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).

Read the notes from the security team

Status

Package Ubuntu Release Status
ruby1.9.1 22.04 LTS jammy Not in release
21.10 impish Not in release
21.04 hirsute Not in release
20.10 groovy Not in release
20.04 LTS focal Not in release
18.04 LTS bionic Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
ruby2.0 22.04 LTS jammy Not in release
21.10 impish Not in release
21.04 hirsute Not in release
20.10 groovy Not in release
20.04 LTS focal Not in release
18.04 LTS bionic Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
ruby2.3 22.04 LTS jammy Not in release
21.10 impish Not in release
21.04 hirsute Not in release
20.10 groovy Not in release
20.04 LTS focal Not in release
18.04 LTS bionic Not in release
16.04 LTS xenial
14.04 LTS trusty Not in release
ruby2.5 22.04 LTS jammy Not in release
21.10 impish Not in release
21.04 hirsute Not in release
20.10 groovy Not in release
20.04 LTS focal Not in release
18.04 LTS bionic
Fixed 2.5.1-1ubuntu1.10
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
ruby2.7 21.10 impish
Fixed 2.7.4-1ubuntu1
21.04 hirsute
Fixed 2.7.2-4ubuntu1.2
20.10 groovy
Fixed 2.7.1-3ubuntu1.4
20.04 LTS focal
Fixed 2.7.0-5ubuntu1.5
18.04 LTS bionic Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro

Notes


leosilva

for xenial, the backport can be kind of intrusive. for now ignoring it.

Severity score breakdown

Parameter Value
Base score 5.8 · Medium
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Scope Changed
Confidentiality Low
Integrity impact None
Availability impact None
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N