CVE-2021-32699 Asymmetric Resource Consumption (Amplification) in Docker containers created by Wings

Medium 6.5 Published Updated

A malicious user can exhaust system resources in Pterodactyl Wings, causing denial of service on the host server.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2021-32699?

CVE-2021-32699 is a medium-severity denial of service vulnerability in pterodactyl wings, published on 22 Jun 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Wings is the control plane software for the open source Pterodactyl game management system. All versions of Pterodactyl Wings prior to `1.4.4` are vulnerable to system resource exhaustion due to improper container process limits being defined. A malicious user can consume more resources than intended and cause downstream impacts to other clients on the same hardware, eventually causing the physical server to stop responding. Users should upgrade to `1.4.4` to mitigate the issue. There is no non-code based workaround for impacted versions of the software. Users running customized versions of this software can manually set a PID limit for containers created.

Weakness: CWE-770, CWE-400

Which versions are affected by CVE-2021-32699?

3 open source packages ship an affected version, including github.com/pterodactyl/wings. It affects 1 product.

PackageAffectedFixed in
github.com/pterodactyl/wings GoAll versions1.4.4
github.com/pterodactyl/wings GoAll versions1.4.4
github.com/pterodactyl/wings GoAll versions1.4.4

Products include Pterodactyl Wings.

How do I fix CVE-2021-32699?

Upgrade github.com/pterodactyl/wings to 1.4.4 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-2021-32699 being exploited?

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

Sources

Also known as GHSA-jj6m-r8jc-2gp7, GO-2022-0919.

Is CVE-2021-32699 in your software?

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

Check your SBOMs for free