{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-31018","published":"2022-06-02T17:15:07.617000Z","last_modified":"2026-06-17T04:44:36.950000Z","status":"Modified","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-400"],"cpes":[{"criteria":"cpe:2.3:a:lightbend:play_framework:*:*:*:*:*:*:*:*","part":"a","vendor":"lightbend","product":"play_framework","version_start_including":"2.8.3","version_end_including":"2.8.15"}],"cpes_truncated":false,"vendors":["lightbend"],"products":["lightbend/play_framework"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial"},"epss":{"score":0.01655,"percentile":0.77014,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-v8x6-59g4-5g3w","ecosystem":"Maven","name":"com.typesafe.play:play_2.12","purl":"pkg:maven/com.typesafe.play/play_2.12","ranges":[{"introduced":"2.8.3","fixed":"2.8.16"}],"versions":["2.8.10","2.8.11","2.8.12","2.8.13","2.8.14","2.8.15","2.8.3","2.8.4","2.8.5","2.8.6","2.8.7","2.8.8","2.8.8-RC1","2.8.9","2.8.9-RC1"],"versions_truncated":false},{"advisory":"GHSA-v8x6-59g4-5g3w","ecosystem":"Maven","name":"com.typesafe.play:play_2.13","purl":"pkg:maven/com.typesafe.play/play_2.13","ranges":[{"introduced":"2.8.3","fixed":"2.8.16"}],"versions":["2.8.10","2.8.11","2.8.12","2.8.13","2.8.14","2.8.15","2.8.3","2.8.4","2.8.5","2.8.6","2.8.7","2.8.8","2.8.8-RC1","2.8.9","2.8.9-RC1"],"versions_truncated":false}],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2022-31018/","html_en":"/en/cve/CVE-2022-31018/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-31018","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-31018"},"untrusted":{"vendor_name":"Lightbend","product_name":"Play Framework","desc_en":"Play Framework is a web framework for Java and Scala. A denial of service vulnerability has been discovered in verions 2.8.3 through 2.8.15 of Play's forms library, in both the Scala and Java APIs. This can occur when using either the `Form#bindFromRequest` method on a JSON request body or the `Form#bind` method directly on a JSON value. If the JSON data being bound to the form contains a deeply-nested JSON object or array, the form binding implementation may consume all available heap space and cause an `OutOfMemoryError`. If executing on the default dispatcher and `akka.jvm-exit-on-fatal-error` is enabled—as it is by default—then this can crash the application process. `Form.bindFromRequest` is vulnerable when using any body parser that produces a type of `AnyContent` or `JsValue` in Scala, or one that can produce a `JsonNode` in Java. This includes Play's default body parser. This vulnerability been patched in version 2.8.16. There is now a global limit on the depth of a JSON object that can be parsed, which can be configured by the user if necessary. As a workaround, applications that do not need to parse a request body of type `application/json` can switch from the default body parser to another body parser that supports only the specific type of body they expect.","affected":[{"untrusted_vendor":"playframework","untrusted_product":"playframework","versions":[]}],"references":[{"url":"https://github.com/playframework/playframework/pull/11301","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/playframework/playframework/releases/tag/2.8.16","tags":["Release Notes","Third Party Advisory"]},{"url":"https://github.com/playframework/playframework/security/advisories/GHSA-v8x6-59g4-5g3w","tags":["Mitigation","Third Party Advisory"]}]}}