SB2022060709 - Multiple vulnerabilities in Play Framework
Published: June 7, 2022 Updated: November 23, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 2 vulnerabilities.
1) Resource exhaustion (CVE-ID: CVE-2022-31018)
CWE-ID: CWE-400 - Resource exhaustion
CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to application does not properly control consumption of internal resources when binding forms from JSON in the Form#bindFromRequest method. A remote attacker can trigger resource exhaustion and perform a denial of service (DoS) attack.
2) Information Exposure Through an Error Message (CVE-ID: CVE-2022-31023)
CWE-ID: CWE-209 - Information Exposure Through an Error Message
CVSSv4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to obtain potentially sensitive application information from verbose error responses, including exception stack traces.
The vulnerability exists due to verbose error reporting by Play Framework's static Scala DefaultHttpErrorHandler when it handles production errors without checking the application mode. A remote attacker can trigger an application error to obtain diagnostic details if production uses this handler through the CORSFilter or CORSActionBuilder defaults or through dependency injection.
Remediation
Install update from vendor's website.