Description
An issue was discovered in PlayJava in Play Framework 2.6.0 through 2.8.2. The body parsing of HTTP requests eagerly parses a payload given a Content-Type header. A deep JSON structure sent to a valid POST endpoint (that may or may not expect JSON payloads) causes a StackOverflowError and Denial of Service.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | com.typesafe.play:play | >= 2.6.0, < 2.7.6 | 2.7.6 | GHSA-h48w-c35p-6m8x |
| Maven | com.typesafe.play:play | >= 2.8.0, < 2.8.3 | 2.8.3 | GHSA-h48w-c35p-6m8x |
| Maven | com.typesafe.play:play-java | >= 2.6.0, < 2.7.6 | 2.7.6 | GHSA-h48w-c35p-6m8x |
| Maven | com.typesafe.play:play-java | >= 2.8.0, < 2.8.3 | 2.8.3 | GHSA-h48w-c35p-6m8x |