Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
3.0.26, 3.11.12, 4.0.1, 4.1-alpha1, 4.1
-
None
-
Security - Information Leakage
-
Low
-
Low Hanging Fruit
-
User Report
-
All
-
None
-
Description
StorageProxy.mutateMV might log an error message that prints user data in the logs beyond the row key, for example:
ERROR [MutationStage-2] 2021-07-28 13:08:52,609 StorageProxy.java:1002 - Error applying local view update to keyspace k: Mutation(keyspace='k', key='00000001', modifications=[ [k.mv] key=1 partition_deletion=deletedAt=-9223372036854775808, localDeletion=2147483647 columns=[[] | []] Row[info=[ts=1627474132606719] ]: k=0, v=MY CONFIDENTIAL DATA | ])
We should probably change that log message so it doesn't print the entire mutation but only the keyspace, tables and partition key of the mutation.