CVE catalog

CVE-2021-20230

stunnel4: CVE-2021-20230

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Published
Source
[NVD] · [CVE record]
EPSS
1.18% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianstunnel4trixie3:5.74-2fixed
Debianstunnel4bookworm3:5.68-2+deb12u1fixed
Ubuntustunnel4pro3:5.39-2vulnerable
Ubuntustunnel4pro3:5.42-1vulnerable
Ubuntustunnel4pro3:5.44-1ubuntu1vulnerable
Ubuntustunnel4pro3:5.44-1ubuntu2vulnerable
Ubuntustunnel4pro3:5.44-1ubuntu3vulnerable
Ubuntustunnel4pro3:5.44-1ubuntu3+esm1fixed
Ubuntustunnel420.043:5.55-2build1vulnerable
Ubuntustunnel420.043:5.56-1vulnerable
Ubuntustunnel420.043:5.56-1ubuntu0.2fixed
Susestunnellinux enterprise high performance computing 15-espos5.44-3.8.1fixed
Susestunnellinux enterprise high performance computing 15-ltss5.44-3.8.1fixed
Susestunnellinux enterprise high performance computing 15 sp1-espos5.44-3.8.1fixed
Susestunnellinux enterprise high performance computing 15 sp1-ltss5.44-3.8.1fixed
Susestunnellinux enterprise server 15-ltss5.44-3.8.1fixed
Susestunnellinux enterprise server 15 sp1-bcl5.44-3.8.1fixed
Susestunnellinux enterprise server 15 sp1-ltss5.44-3.8.1fixed
Susestunnellinux enterprise server for sap applications 155.44-3.8.1fixed
Susestunnellinux enterprise server for sap applications 15 sp15.44-3.8.1fixed
Susestunnelmanager proxy 4.05.44-3.8.1fixed
Susestunnelmanager retail branch server 4.05.44-3.8.1fixed
Susestunnelmanager server 4.05.44-3.8.1fixed
Susestunnelenterprise storage 65.44-3.8.1fixed
Ubuntustunnel4pro3:5.39-2vulnerable
Ubuntustunnel4pro3:5.42-1vulnerable
Ubuntustunnel4pro3:5.44-1ubuntu1vulnerable
Ubuntustunnel4pro3:5.44-1ubuntu2vulnerable
Ubuntustunnel4pro3:5.44-1ubuntu3vulnerable
Ubuntustunnel4pro3:5.44-1ubuntu3+esm1fixed
Ubuntustunnel420.043:5.55-2build1vulnerable
Ubuntustunnel420.043:5.56-1vulnerable
Ubuntustunnel420.043:5.56-1ubuntu0.2fixed
Opensusestunnelleap 15.25.57-lp152.2.6.1fixed
Susestunnellinux enterprise module for server applications 15 sp25.57-3.11.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianstunnel4sourcetrixie3:5.56+dfsg-8not yet assignedNot reported[982578]
Debianstunnel4sourcebookworm3:5.56+dfsg-8not yet assignedNot reported[982578]
Ubuntustunnel4debpro3:5.44-1ubuntu3+esm1Not reportedUSN-6901-1Not reported
Ubuntustunnel4deb20.043:5.56-1ubuntu0.2Not reportedUSN-6901-1Not reported
Susestunnelrpmlinux enterprise high performance computing 15-espos5.44-3.8.1Not reportedSUSE-SU-2021:1465-1Not reported
Susestunnelrpmlinux enterprise high performance computing 15-ltss5.44-3.8.1Not reportedSUSE-SU-2021:1465-1Not reported
Susestunnelrpmlinux enterprise high performance computing 15 sp1-espos5.44-3.8.1Not reportedSUSE-SU-2021:1465-1Not reported
Susestunnelrpmlinux enterprise high performance computing 15 sp1-ltss5.44-3.8.1Not reportedSUSE-SU-2021:1465-1Not reported
Susestunnelrpmlinux enterprise server 15-ltss5.44-3.8.1Not reportedSUSE-SU-2021:1465-1Not reported
Susestunnelrpmlinux enterprise server 15 sp1-bcl5.44-3.8.1Not reportedSUSE-SU-2021:1465-1Not reported
Susestunnelrpmlinux enterprise server 15 sp1-ltss5.44-3.8.1Not reportedSUSE-SU-2021:1465-1Not reported
Susestunnelrpmlinux enterprise server for sap applications 155.44-3.8.1Not reportedSUSE-SU-2021:1465-1Not reported
Susestunnelrpmlinux enterprise server for sap applications 15 sp15.44-3.8.1Not reportedSUSE-SU-2021:1465-1Not reported
Susestunnelrpmmanager proxy 4.05.44-3.8.1Not reportedSUSE-SU-2021:1465-1Not reported
Susestunnelrpmmanager retail branch server 4.05.44-3.8.1Not reportedSUSE-SU-2021:1465-1Not reported
Susestunnelrpmmanager server 4.05.44-3.8.1Not reportedSUSE-SU-2021:1465-1Not reported
Susestunnelrpmenterprise storage 65.44-3.8.1Not reportedSUSE-SU-2021:1465-1Not reported
Ubuntustunnel4debpro3:5.44-1ubuntu3+esm1Not reportedUBUNTU-CVE-2021-20230Not reported
Ubuntustunnel4deb20.043:5.56-1ubuntu0.2Not reportedUBUNTU-CVE-2021-20230Not reported
Opensusestunnelrpmleap 15.25.57-lp152.2.6.1Not reportedOPENSUSE-SU-2021:0409-1Not reported
Susestunnelrpmlinux enterprise module for server applications 15 sp25.57-3.11.1Not reportedSUSE-SU-2021:0772-1Not reported

[Debian bug #982578]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [stunnel4]Fixed
    Details (2)
    • 3:5.68-2+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 3:5.56+dfsg-8

      dsa · stunnel4 · debian · bookworm; dsa · stunnel4 · debian · 12

    • 3:5.68-2+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 3:5.56+dfsg-8

      dsa · stunnel4 · debian · bookworm; dsa · stunnel4 · debian · 12

[Debian 13 (Trixie)]

  • [stunnel4]Fixed
    Details (2)
    • 3:5.74-2 · amd64 · trixie

      Fixed · Fixed: 3:5.56+dfsg-8

      dsa · stunnel4 · debian · 13

    • 3:5.74-2 · arm64 · trixie

      Fixed · Fixed: 3:5.56+dfsg-8

      dsa · stunnel4 · debian · 13

Observed:

References