Photon OS 4.0: Ruby PHSA-2021-4.0-0096

medium Nessus Plugin ID 153504

Synopsis

The remote PhotonOS host is missing multiple security updates.

Description

An update of the ruby package has been released.

- 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). (CVE-2021-31810)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Update the affected Linux packages.

See Also

https://github.com/vmware/photon/wiki/Security-Updates-4.0-96.md

Plugin Details

Severity: Medium

ID: 153504

File Name: PhotonOS_PHSA-2021-4_0-0096_ruby.nasl

Version: 1.4

Type: local

Published: 9/21/2021

Updated: 11/30/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 2.4

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.9

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N

CVSS Score Source: CVE-2021-31810

CVSS v3

Risk Factor: Medium

Base Score: 5.8

Temporal Score: 5.2

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:vmware:photonos:ruby, cpe:/o:vmware:photonos:4.0

Required KB Items: Host/local_checks_enabled, Host/PhotonOS/release, Host/PhotonOS/rpm-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 9/7/2021

Vulnerability Publication Date: 7/13/2021

Reference Information

CVE: CVE-2021-31810