GitHub Advisory Database
GHSA-h48w-c35p-6m8x
Out-of-bounds Write in Play Framework
Details
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 versions |
|---|---|---|
| Maven | com.typesafe.play:play | From 2.6.0 before 2.7.6 (fixed in 2.7.6) |
| Maven | com.typesafe.play:play | From 2.8.0 before 2.8.3 (fixed in 2.8.3) |
| Maven | com.typesafe.play:play-java | From 2.6.0 before 2.7.6 (fixed in 2.7.6) |
| Maven | com.typesafe.play:play-java | From 2.8.0 before 2.8.3 (fixed in 2.8.3) |