Skip to content
Misconfiguration Write-up Advanced

Container Networking Security Issue (CVE-2020-8558)

A Linux container networking issue (CVE-2020-8558) could allow containers on the same or adjacent hosts to reach TCP and UDP services bound to localhost. An attacker with a process inside a container could gain unintended network access to other containers on the same host or within the same VPC and subnet.

aws.amazon.com

Published on aws.amazon.com

AWS is aware of a security issue, recently disclosed by the Kubernetes community, affecting Linux container networking (CVE-2020-8558). This issue may allow containers running on the same host, or adjacent hosts (hosts running in the same LAN or layer 2 domain), to reach TCP and UDP services bound to localhost…

The author, on aws.amazon.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a flaw in Linux container networking that fails to properly isolate localhost-bound services between containers on the same or adjacent hosts.

Impact

Processes within a container on one host may be able to gain unintended network access to other containers on that same host or on other hosts within the same VPC and subnet, though AWS security controls prevent cross-account data access.

What the attacker needed

Container running on affected host; attacker has process in container

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Containers are like lightweight virtual machines that run applications. Normally, services bound to 'localhost' ([redacted]) are only reachable from inside the same container. This bug could let a process in one container talk to localhost services in another container on the same or a nearby host, which should not happen.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.