GLSA-202105-02 : stunnel: Improper certificate validation

high Nessus Plugin ID 150016
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-202105-02 (stunnel: Improper certificate validation)

It was discovered that stunnel did not correctly verified the client certificate when options “redirect” and “verifyChain” are used.
Impact :

A remote attacker could send a specially crafted certificate, possibly resulting in a breach of integrity or confidentiality.
Workaround :

There is no known workaround at this time.

Solution

All stunnel users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=net-misc/stunnel-5.58'

See Also

https://security.gentoo.org/glsa/202105-02

Plugin Details

Severity: High

ID: 150016

File Name: gentoo_GLSA-202105-02.nasl

Version: 1.2

Type: local

Published: 5/27/2021

Updated: 6/1/2021

Dependencies: ssh_get_info.nasl

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

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

Temporal Vector: E:U/RL:OF/RC:C

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:H/I:N/A:N

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

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:stunnel, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Ease: No known exploits are available

Patch Publication Date: 5/26/2021

Vulnerability Publication Date: 2/23/2021

Reference Information

CVE: CVE-2021-20230

GLSA: 202105-02