CVE-2020-15127 Denial of service in Contour

High 7.5 Published Updated

An unauthenticated attacker can shut down all Envoy instances via an exposed endpoint, causing a complete ingress data plane outage.

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

What is CVE-2020-15127?

CVE-2020-15127 is a high-severity missing authorization vulnerability in projectcontour contour, published on 5 Aug 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In Contour ( Ingress controller for Kubernetes) before version 1.7.0, a bad actor can shut down all instances of Envoy, essentially killing the entire ingress data plane. GET requests to /shutdown on port 8090 of the Envoy pod initiate Envoy's shutdown procedure. The shutdown procedure includes flipping the readiness endpoint to false, which removes Envoy from the routing pool. When running Envoy (For example on the host network, pod spec hostNetwork=true), the shutdown manager's endpoint is accessible to anyone on the network that can reach the Kubernetes node that's running Envoy. There is no authentication in place that prevents a rogue actor on the network from shutting down Envoy via the shutdown manager endpoint. Successful exploitation of this issue will lead to bad actors shutting down all instances of Envoy, essentially killing the entire ingress data plane. This is fixed in version 1.7.0.

Weakness: CWE-306

Which versions are affected by CVE-2020-15127?

1 open source package ship an affected version, including contour. It affects 1 product.

PackageAffectedFixed in
contour BitnamiAll versions1.7.0

Products include Projectcontour Contour.

How do I fix CVE-2020-15127?

Upgrade contour to 1.7.0 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2020-15127 being exploited?

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

Sources

Also known as BIT-contour-2020-15127, GHSA-mjp8-x484-pm3r.

Is CVE-2020-15127 in your software?

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

Check your SBOMs for free