CVE-2018-9127 Security feature bypass in n/a

Critical 9.8 Published Updated

Botan library incorrectly validates wildcard certificates, allowing attackers with valid domain certificates to bypass hostname verification checks.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-9127?

CVE-2018-9127 is a critical vulnerability in n/a, published on 2 Apr 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-295

Which versions are affected by CVE-2018-9127?

It affects 1 product.

Products include Botan Project Botan.

How do I fix CVE-2018-9127?

Upgrade to a fixed version.

Is CVE-2018-9127 being exploited?

There is no known exploitation of CVE-2018-9127 in the wild and no public exploit code.

Sources

Also known as ALPINE-CVE-2018-9127, DEBIAN-CVE-2018-9127, GHSA-r872-mggq-8gfh, UBUNTU-CVE-2018-9127.

Is CVE-2018-9127 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free