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.
Remediation
References
https://www.playframework.com/security/vulnerability
https://www.playframework.com/security/vulnerability/CVE-2020-27196-DosViaJsonStackOverflow
Related Vulnerabilities
CVE-2016-5388 Vulnerability in maven package org.apache.tomcat:tomcat
CVE-2017-5657 Vulnerability in maven package org.apache.archiva:archiva
CVE-2023-35925 Vulnerability in maven package com.fastasyncworldedit:fastasyncworldedit-bukkit
CVE-2023-50730 Vulnerability in maven package edu.gemini:gsp-graphql-core_3