CVE-2021-20230
mediumpriority · track · 30EPSS 0.012 · 68 %ileDEEURUUSEPSS · scored 2026-10-27
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.
remediations
Vendor fix, mitigation, or workaround guidance, as published by each source.
A vendor fix is available.
- Fixedstunnel-0:5.56-5.el8_3.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:0618 - Fixedstunnel-0:5.56-5.el8_3.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:0618 - Fixedstunnel-0:5.56-5.el8_3.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:0618 - Fixedstunnel-0:5.56-5.el8_3.src as a component of Red Hat Enterprise Linux BaseOS (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:0618 - Fixedstunnel-0:5.56-5.el8_3.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:0618 - Fixedstunnel-debuginfo-0:5.56-5.el8_3.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:0618 - Fixedstunnel-debuginfo-0:5.56-5.el8_3.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:0618 - Fixedstunnel-debuginfo-0:5.56-5.el8_3.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:0618 - Fixedstunnel-debuginfo-0:5.56-5.el8_3.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:0618 - Fixedstunnel-debugsource-0:5.56-5.el8_3.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:0618 - Fixedstunnel-debugsource-0:5.56-5.el8_3.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:0618 - Fixedstunnel-debugsource-0:5.56-5.el8_3.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:0618 - Fixedstunnel-debugsource-0:5.56-5.el8_3.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:0618 - Fixedstunnel-0:5.48-6.el8_2.aarch64 as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.2)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:0619 - Fixedstunnel-0:5.48-6.el8_2.ppc64le as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.2)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:0619 - Fixedstunnel-0:5.48-6.el8_2.s390x as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.2)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:0619 - Fixedstunnel-0:5.48-6.el8_2.src as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.2)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:0619 - Fixedstunnel-0:5.48-6.el8_2.x86_64 as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.2)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:0619 - Fixedstunnel-debuginfo-0:5.48-6.el8_2.aarch64 as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.2)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:0619 - Fixedstunnel-debuginfo-0:5.48-6.el8_2.ppc64le as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.2)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:0619 - Fixedstunnel-debuginfo-0:5.48-6.el8_2.s390x as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.2)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:0619 - Fixedstunnel-debuginfo-0:5.48-6.el8_2.x86_64 as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.2)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:0619 - Fixedstunnel-debugsource-0:5.48-6.el8_2.aarch64 as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.2)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:0619 - Fixedstunnel-debugsource-0:5.48-6.el8_2.ppc64le as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.2)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:0619 - Fixedstunnel-debugsource-0:5.48-6.el8_2.s390x as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.2)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:0619 - Fixedstunnel-debugsource-0:5.48-6.el8_2.x86_64 as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.2)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:0619 - Fixedstunnel-0:5.48-6.el8_1.aarch64 as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.1)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:0620 - Fixedstunnel-0:5.48-6.el8_1.ppc64le as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.1)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:0620 - Fixedstunnel-0:5.48-6.el8_1.s390x as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.1)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:0620 - Fixedstunnel-0:5.48-6.el8_1.src as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.1)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:0620 - Fixedstunnel-0:5.48-6.el8_1.x86_64 as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.1)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:0620 - Fixedstunnel-debuginfo-0:5.48-6.el8_1.aarch64 as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.1)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:0620 - Fixedstunnel-debuginfo-0:5.48-6.el8_1.ppc64le as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.1)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:0620 - Fixedstunnel-debuginfo-0:5.48-6.el8_1.s390x as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.1)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:0620 - Fixedstunnel-debuginfo-0:5.48-6.el8_1.x86_64 as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.1)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:0620 - Fixedstunnel-debugsource-0:5.48-6.el8_1.aarch64 as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.1)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:0620 - Fixedstunnel-debugsource-0:5.48-6.el8_1.ppc64le as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.1)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:0620 - Fixedstunnel-debugsource-0:5.48-6.el8_1.s390x as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.1)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:0620 - Fixedstunnel-debugsource-0:5.48-6.el8_1.x86_64 as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.1)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:0620
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5–7.5
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (97)
Products and version ranges known to be affected.
- Red Hat Enterprise Linux 8.1 Extended Update Supportall versionscert_bundDEcpe:/o:redhat:enterprise_linux:8.1_extended_update_support
- Red Hat Enterprise Linux 8.2 Extended Update Supportall versionscert_bundDEcpe:/o:redhat:enterprise_linux:8.2_extended_update_support
advisories (4)
Vendor and ecosystem advisories describing this.
- RHSA-2021:0618Red Hat Security Advisory: stunnel security update2021-02-22csaf · redhat_csafUS
An update for stunnel is now available for Red Hat Enterprise Linux 8. Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.
- RHSA-2021:0619Red Hat Security Advisory: stunnel security update2021-02-22csaf · redhat_csafUS
An update for stunnel is now available for Red Hat Enterprise Linux 8.2 Extended Update Support. Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.
- RHSA-2021:0620Red Hat Security Advisory: stunnel security update2021-02-22csaf · redhat_csafUS
An update for stunnel is now available for Red Hat Enterprise Linux 8.1 Extended Update Support. Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.
- WID-SEC-W-2024-1674Red Hat Enterprise Linux: Schwachstelle ermöglicht Umgehen von SicherheitsvorkehrungenDeutsch2021-02-21csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in Red Hat Enterprise Linux ausnutzen, um Sicherheitsvorkehrungen zu umgehen.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (18)
External citations — patches, advisories, analysis.
- https://bugzilla.redhat.com/show_bug.cgi?id=1925226cnnvd
- https://github.com/mtrojnar/stunnel/commit/ebad9ddc4efb2635f37174c9d800d06206f1edf9cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2021-20230cnnvd
- https://packetstormsecurity.com/files/161485/Red-Hat-Security-Advisory-2021-0620-01.htmlcnnvd
- https://packetstormsecurity.com/files/161656/Red-Hat-Security-Advisory-2021-0719-01.htmlcnnvd
- https://packetstormsecurity.com/files/162776/Gentoo-Linux-Security-Advisory-202105-02.htmlcnnvd
- https://security.gentoo.org/glsa/202105-02cnnvd
- https://www.auscert.org.au/bulletins/ESB-2021.0662cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan