CVE-2020-26883 Uncontrolled Recursion in Play Framework

High 7.5 Published Updated

Attackers can cause denial of service in Play Framework applications by sending crafted JSON documents that trigger unbounded recursion and stack exhaustion.

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-26883?

CVE-2020-26883 is a high-severity denial of service vulnerability in n/a, published on 6 Nov 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In Play Framework 2.6.0 through 2.8.2, stack consumption can occur because of unbounded recursion during parsing of crafted JSON documents.

Weakness: CWE-674

Which versions are affected by CVE-2020-26883?

8 open source packages ship an affected version, including com.typesafe.play:play and com.typesafe.play:play-java. It affects 1 product.

PackageAffectedFixed in
com.typesafe.play:play MavenFrom 2.6.02.7.6
com.typesafe.play:play MavenFrom 2.6.02.7.6
com.typesafe.play:play MavenFrom 2.8.02.8.3
com.typesafe.play:play MavenFrom 2.8.02.8.3
com.typesafe.play:play-java MavenFrom 2.6.02.7.6
com.typesafe.play:play-java MavenFrom 2.6.02.7.6
2 more packages
com.typesafe.play:play-java MavenFrom 2.8.02.8.3
com.typesafe.play:play-java MavenFrom 2.8.02.8.3

Products include Lightbend Play Framework.

How do I fix CVE-2020-26883?

Upgrade com.typesafe.play:play to a fixed version for your release line: 2.7.6 or 2.8.3.

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-2020-26883 being exploited?

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

Sources

Also known as GHSA-p8p6-rcp6-4mrm.

Is CVE-2020-26883 in your software?

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

Check your SBOMs for free