If a database cursor is not closed properly, then it could become accessible to other users while retaining the same privileges that were originally assigned, leaving the cursor "dangling."
Close cursors immediately after access to them is complete. Ensure that you close cursors if exceptions occur.
Our security experts can help you identify and remediate CWE-619 vulnerabilities in your codebase.
Get Security Assessment