UBUNTU-CVE-2021-20230 (CVE-2021-20230)
Vulnerability from osv_ubuntu – Published: 2021-02-23 17:15 – Updated: 2025-09-08 16:46 – Source websiteA 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.
{
"affected": [
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "stunnel4",
"binary_version": "3:5.44-1ubuntu3+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "stunnel4",
"purl": "pkg:deb/ubuntu/stunnel4@3:5.44-1ubuntu3+esm1?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3:5.44-1ubuntu3+esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3:5.39-2",
"3:5.42-1",
"3:5.44-1ubuntu1",
"3:5.44-1ubuntu2",
"3:5.44-1ubuntu3"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "stunnel4",
"binary_version": "3:5.56-1ubuntu0.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "stunnel4",
"purl": "pkg:deb/ubuntu/stunnel4@3:5.56-1ubuntu0.2?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3:5.56-1ubuntu0.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3:5.55-2build1",
"3:5.56-1"
]
}
],
"aliases": [],
"details": "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.",
"id": "UBUNTU-CVE-2021-20230",
"modified": "2025-09-08T16:46:55Z",
"published": "2021-02-23T17:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2021-20230"
},
{
"type": "REPORT",
"url": "https://github.com/mtrojnar/stunnel/commit/ebad9ddc4efb2635f37174c9d800d06206f1edf9"
},
{
"type": "REPORT",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=1925226"
},
{
"type": "REPORT",
"url": "https://bugzilla.suse.com/show_bug.cgi?id=1177580"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2021-20230"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-6901-1"
}
],
"related": [
"USN-6901-1"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2021-20230"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.