Improper Certificate Validation Affecting stunnel4 package, versions <3:5.56-1ubuntu0.2


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.16% (53rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2004-STUNNEL4-1126494
  • published3 Oct 2022
  • disclosed23 Feb 2021

Introduced: 23 Feb 2021

CVE-2021-20230  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

Upgrade Ubuntu:20.04 stunnel4 to version 3:5.56-1ubuntu0.2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream stunnel4 package and not the stunnel4 package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

A flaw was found in stunnel before 5.57, where it improperly validates client certificates when it is configured to use both redirect and verifyChain options. This flaw allows an attacker with a certificate signed by a Certificate Authority, which is not the one accepted by the stunnel server, to access the tunneled service instead of being redirected to the address specified in the redirect option. The highest threat from this vulnerability is to confidentiality.

CVSS Scores

version 3.1