CVE-2022-31023: Play Framework is a web framework for Java and Scala
CVE-2022-31023 is a medium-severity flaw (CVSS 5.9) affecting play framework. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Play Framework is a web framework for Java and Scala. Verions prior to 2.8.16 are vulnerable to generation of error messages containing sensitive information. Play Framework, when run in dev mode, shows verbose errors for easy debugging, including an exception stack trace. Play does this by configuring its `DefaultHttpErrorHandler` to do so based on the application mode. In its Scala API Play also provides a static object `DefaultHttpErrorHandler
Why this priority
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.9 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.3% (top 29%) |
| CISA exploited list | No |
| Weakness | CWE-209 |
| Published | 2022-06-02 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-31023?
play framework: upgrade to 2.8.16. Exact commands for each OS are on this page.
Is CVE-2022-31023 being exploited?
CVE-2022-31023 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-31023 affect?
CVE-2022-31023 affects play framework. Severity is medium (CVSS 5.9). Play Framework is a web framework for Java and Scala. Verions prior to 2.8.16 are vulnerable to generation of error messages containing sensitive information. Play Framework, when run in dev mode, shows verbose errors for easy debugging, in
How urgent is CVE-2022-31023?
Priority 44/100. Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2022-31018 HIGH 7.5 UPGRADE Play Framework is a web framework for Java and Scala
- CVE-2020-2200 HIGH 8.8 UPGRADE Jenkins Play Framework Plugin 1.0.2 and earlier lets users specify the path to the `play` command on the Jenki
- CVE-2020-28923 LOW 2.7 UPGRADE An issue was discovered in Play Framework 2.8.0 through 2.8.4
- CVE-2020-27196 HIGH 7.5 UPGRADE An issue was discovered in PlayJava in Play Framework 2.6.0 through 2.8.2
- CVE-2020-26883 HIGH 7.5 UPGRADE In Play Framework 2.6.0 through 2.8.2, stack consumption can occur because of unbounded recursion during parsi