FreeBSD : ruby -- XML round-trip vulnerability in REXML (dec7e4b6-961a-11eb-9c34-080027f515ea)

high Nessus Plugin ID 148525

Synopsis

The remote FreeBSD host is missing one or more security-related updates.

Description

Juho Nurminen reports :

When parsing and serializing a crafted XML document, REXML gem (including the one bundled with Ruby) can create a wrong XML document whose structure is different from the original one. The impact of this issue highly depends on context, but it may lead to a vulnerability in some programs that are using REXML.

Solution

Update the affected packages.

See Also

http://www.nessus.org/u?c44311ba

http://www.nessus.org/u?afc33e7d

Plugin Details

Severity: High

ID: 148525

File Name: freebsd_pkg_dec7e4b6961a11eb9c34080027f515ea.nasl

Version: 1.3

Type: local

Published: 4/14/2021

Updated: 5/3/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

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

CVSS Score Source: CVE-2021-28965

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:ruby, p-cpe:/a:freebsd:freebsd:rubygem-rexml, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Exploit Ease: No known exploits are available

Patch Publication Date: 4/5/2021

Vulnerability Publication Date: 4/5/2021

Reference Information

CVE: CVE-2021-28965