CVE-2020-8553 Kubernetes ingress-nginx Compromise of auth via subset/superset namespace names

Medium 5.9 Published Updated

Attackers with namespace creation rights can overwrite basic auth files in other namespaces, leading to privilege escalation and unauthorized access.

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

What is CVE-2020-8553?

CVE-2020-8553 is a medium-severity missing authorization vulnerability in Kubernetes ingress-nginx, published on 29 Jul 2020. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

The Kubernetes ingress-nginx component prior to version 0.28.0 allows a user with the ability to create namespaces and to read and create ingress objects to overwrite the password file of another ingress which uses nginx.ingress.kubernetes.io/auth-type: basic and which has a hyphenated namespace or secret name.

Weakness: CWE-610, CWE-73

Which versions are affected by CVE-2020-8553?

2 open source packages ship an affected version, including k8s.io/ingress-nginx. It affects 1 product.

PackageAffectedFixed in
k8s.io/ingress-nginx GoAll versions0.28.0
k8s.io/ingress-nginx GoAll versions0.28.0

Products include Kubernetes Ingress-Nginx.

How do I fix CVE-2020-8553?

Upgrade k8s.io/ingress-nginx to 0.28.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-8553 being exploited?

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

Sources

Also known as GHSA-hhpm-74pm-hf35.

Is CVE-2020-8553 in your software?

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

Check your SBOMs for free