Skip to content

CX Heap_Inspection @ Models/AuthorizationRequest.cs [Merge_Branch]

Heap_Inspection issue exists @ Models/AuthorizationRequest.cs in branch Merge_Branch

Method } at line 13 of Models\AuthorizationRequest.cs defines password, which is designated to contain user passwords. However, while plaintext passwords are later assigned to password, this variable is never cleared from memory.

Severity: High

CWE:244

Checkmarx

Training Recommended Fix

Lines: 13


Code (Line #13):

      public string password { get; set; }

Edited by Gabriel Prevelate