7.5
CWE
295
Advisory Published
CVE Published
CVE Published
Updated

CVE-2021-20230

First published: Thu Feb 04 2021(Updated: )

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.

Credit: secalert@redhat.com secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
redhat/stunnel<5.57
5.57
ubuntu/stunnel4<3:5.44-1ubuntu3+
3:5.44-1ubuntu3+
ubuntu/stunnel4<3:5.56-1ubuntu0.2
3:5.56-1ubuntu0.2
ubuntu/stunnel4<5.57
5.57
debian/stunnel4
3:5.56+dfsg-10
3:5.68-2+deb12u1
3:5.72-4
stunnel<5.57

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the severity of CVE-2021-20230?

    CVE-2021-20230 has a medium severity rating due to improper validation of client certificates.

  • How do I fix CVE-2021-20230?

    To fix CVE-2021-20230, upgrade stunnel to version 5.57 or later.

  • Which versions of stunnel are affected by CVE-2021-20230?

    Versions of stunnel prior to 5.57 are affected by CVE-2021-20230.

  • What areas of stunnel are impacted by CVE-2021-20230?

    CVE-2021-20230 impacts stunnel's client certificate validation when using both redirect and verifyChain options.

  • Is there a specific platform where CVE-2021-20230 occurs?

    CVE-2021-20230 occurs in stunnel implementations that haven't been updated to version 5.57 or later across various Linux distributions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203