Property
Languagegeneric
Severitylow
CWECWE-489: Active Debug Code
OWASPA05:2021 - Security Misconfiguration
Confidence LevelMedium
Impact LevelLow
Likelihood LevelLow

Description#

Enabling debug options like ‘-Vdebug’ or ‘-Ydebug’ in Scala production builds exposes detailed internal information that should remain private. This can unintentionally reveal sensitive implementation details to anyone accessing the deployed application.

Impact#

If left enabled, attackers could gain insights into the application’s internal logic, configurations, or stack traces, making it easier to exploit vulnerabilities. It can also degrade performance and reliability, potentially leading to service disruptions or data leaks.