You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Daniil Kirilyuk (Jira)" <ji...@apache.org> on 2022/12/02 18:10:00 UTC

[jira] [Created] (QPID-8616) [Broker-J] Privacy Violation: Heap Inspection in ManagedUser

Daniil Kirilyuk created QPID-8616:
-------------------------------------

             Summary: [Broker-J] Privacy Violation: Heap Inspection in ManagedUser
                 Key: QPID-8616
                 URL: https://issues.apache.org/jira/browse/QPID-8616
             Project: Qpid
          Issue Type: Improvement
          Components: Broker-J
    Affects Versions: qpid-java-broker-9.0.0
            Reporter: Daniil Kirilyuk
             Fix For: qpid-java-broker-9.0.1


Sensitive data (such as passwords) stored in memory can be leaked if memory is not cleared after use. Often, Strings are used store sensitive data, however, since String objects are immutable, removing the value of a String from memory can only be done by the JVM garbage collector. The garbage collector is not required to run unless the JVM is low on memory, so there is no guarantee as to when garbage collection will take place. In the event of an application crash, a memory dump of the application might reveal sensitive data.

Approach used in QPID-8583 should be applied to class ManagedUser.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org