Skip to content

CVE-2018-9127 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....

CriticalCVSS 9.8 EPSS 0.93%
Published
Updated
Exploit status
No public exploit known

Description

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.

Affected products

ProductAffected versionsFixed in
ubuntu/botan(Ubuntu:22.04) All versions No fix listed
debian/botan(Debian:12) < 2.4.0-5 2.4.0-5
debian/botan(Debian:13) < 2.4.0-5 2.4.0-5
botan project botan >= 2.2.0, <= 2.4.0 No fix listed
alpine/botan(Alpine:v3.10) >= 2.2.0, < 2.5.0-r0 2.5.0-r0
alpine/botan(Alpine:v3.11) >= 2.2.0, < 2.5.0-r0 2.5.0-r0
alpine/botan(Alpine:v3.12) >= 2.2.0, < 2.5.0-r0 2.5.0-r0
alpine/botan(Alpine:v3.13) >= 2.2.0, < 2.5.0-r0 2.5.0-r0
alpine/botan(Alpine:v3.14) >= 2.2.0, < 2.5.0-r0 2.5.0-r0
alpine/botan(Alpine:v3.15) >= 2.2.0, < 2.5.0-r0 2.5.0-r0
alpine/botan(Alpine:v3.16) >= 2.2.0, < 2.5.0-r0 2.5.0-r0
alpine/botan(Alpine:v3.17) >= 2.2.0, < 2.5.0-r0 2.5.0-r0
alpine/botan(Alpine:v3.18) >= 2.2.0, < 2.5.0-r0 2.5.0-r0
alpine/botan(Alpine:v3.19) >= 2.2.0, < 2.5.0-r0 2.5.0-r0
alpine/botan(Alpine:v3.20) >= 2.2.0, < 2.5.0-r0 2.5.0-r0
alpine/botan(Alpine:v3.21) >= 2.2.0, < 2.5.0-r0 2.5.0-r0

References