CVE-2022-27536 Denial of service in n/a

High 7.5 Published Updated

A remote TLS server can cause a Go TLS client to panic on macOS by presenting malformed certificates, resulting in a denial of service.

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

What is CVE-2022-27536?

CVE-2022-27536 is a high-severity denial of service vulnerability in Golang Go, published on 20 Apr 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Certificate.Verify in crypto/x509 in Go 1.18.x before 1.18.1 can be caused to panic on macOS when presented with certain malformed certificates. This allows a remote TLS server to cause a TLS client to panic.

Weakness: CWE-295

Which versions are affected by CVE-2022-27536?

2 open source packages ship an affected version, including golang and stdlib. It affects 1 product.

PackageAffectedFixed in
golang BitnamiFrom 1.18.01.18.1
stdlib GoFrom 1.18.0-01.18.1

Products include Golang Go.

How do I fix CVE-2022-27536?

Upgrade golang to 1.18.1 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2022-27536 being exploited?

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

All Golang Go vulnerabilities

Sources

Also known as AZL-78958, AZL-98946, BIT-golang-2022-27536, GHSA-vwmq-9gjc-2jjj, GO-2022-0434.

Is CVE-2022-27536 in your software?

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

Check your SBOMs for free