logo

Database

Description

Within the code there are unsafe statements that can affect the performance and response time of the application. See https://rules.sonarsource.com/java/RSPEC-1149?search=stringbuffer for more information.

Impact

Affect application performance.

Recommendation

Use the libraries that allow to execute the functions of concatenation and storage in collections in an optimized way (ArrayList and StringBuilder or SyncronizedList).

Threat

Attacker with access to the application.

Expected Remediation Time

⏱️ 30 minutes.

Fixes