cx-justin-ruth / CxFlowGithub

0 stars 0 forks source link

CX Improper_Resource_Shutdown_or_Release @ root/register.jsp [master] #31

Open cx-justin-ruth opened 2 years ago

cx-justin-ruth commented 2 years ago

Improper_Resource_Shutdown_or_Release issue exists @ root/register.jsp in branch master

The application's = method in root\register.jsp defines and initializes the getConnection object at 10. This object encapsulates a limited computing resource, such as open file streams, database connections, or network streams. This resource is not properly closed and released in all situations.

Severity: Low

CWE:404

Vulnerability details and guidance

Checkmarx

Lines: 10


Code (Line #10):

String userid = (String) session.getAttribute("userid");