CVE Vulnerabilities

CVE-2018-9127

Improper Certificate Validation

Published: Apr 02, 2018 | Modified: Nov 21, 2024
CVSS 3.x
9.8
CRITICAL
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
7.5 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

Botan 2.2.0 - 2.4.0 (fixed in 2.5.0) improperly handled wildcard certificates and could accept certain certificates as valid for hostnames when, under RFC 6125 rules, they should not match. This only affects certificates issued to the same domain as the host, so to impersonate a host one must already have a wildcard certificate matching other hosts in the same domain. For example, b*.example.com would match some hostnames that do not begin with a b character.

Weakness

The product does not validate, or incorrectly validates, a certificate.

Affected Software

Name Vendor Start Version End Version
Botan Botan_project 2.2.0 (including) 2.4.0 (including)
Botan Ubuntu cosmic *
Botan Ubuntu disco *
Botan Ubuntu eoan *
Botan Ubuntu groovy *
Botan Ubuntu hirsute *
Botan Ubuntu impish *
Botan Ubuntu kinetic *
Botan Ubuntu upstream *

Potential Mitigations

References