[ https://issues.apache.org/jira/browse/CASSANDRA-20856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Miklosovic updated CASSANDRA-20856: ------------------------------------------ Fix Version/s: 5.0.6 5.1 (was: 5.x) (was: 5.0.x) Since Version: 4.1-alpha1 Source Control Link: https://github.com/apache/cassandra/commit/c9717b4ed53417f20a8c35747d8797d2d0ea974b Resolution: Fixed Status: Resolved (was: Ready to Commit) Resolving this, will return to 4.1.x fix version and I ll bump it to 4.1.11 when 4.1.10 which is currently being released is out and we have new version in JIRA. > system_views.settings exposes encryption and TDE passwords in plaintext over > CQL > -------------------------------------------------------------------------------- > > Key: CASSANDRA-20856 > URL: https://issues.apache.org/jira/browse/CASSANDRA-20856 > Project: Apache Cassandra > Issue Type: Bug > Components: Feature/Virtual Tables > Reporter: Hayato Shimizu > Assignee: Stefan Miklosovic > Priority: Normal > Fix For: 4.1.x, 5.0.6, 5.1 > > Time Spent: 2h 40m > Remaining Estimate: 0h > > Selecting from the virtual table {{system_views.settings}} shows the > property values cassandra.yaml faithfully, including the ones that contain > passwords. > > Any user with {{SELECT}} on {{system_views.settings}} can read these secrets. > > {code:java} > cqlsh:system_views> select * from settings where name = > 'client_encryption_options.truststore_password'; > name | value > -----------------------------------------------+---------- > client_encryption_options.truststore_password | changeit > (1 rows) > cqlsh:system_views> select * from settings where name = > 'client_encryption_options.keystore_password'; > name | value > ---------------------------------------------+---------- > client_encryption_options.keystore_password | changeit > (1 rows) > cqlsh:system_views> select * from settings where name = > 'server_encryption_options.truststore_password'; > name | value > -----------------------------------------------+---------- > server_encryption_options.truststore_password | changeit > (1 rows) > cqlsh:system_views> select * from settings where name = > 'server_encryption_options.keystore_password'; > name | value > ---------------------------------------------+---------- > server_encryption_options.keystore_password | changeit > (1 rows) > cqlsh:system_views> select * from system_views.settings where name = > 'transparent_data_encryption_options.key_provider.parameters'; > name | value > -------------------------------------------------------------+-------------------------------------------------------------------------------------------------- > transparent_data_encryption_options.key_provider.parameters | > {keystore_password=cassandra, keystore=conf/.keystore, store_type=JCEKS, > key_password=cassandra} {code} > Passwords and secrets should be handled as a special case and not exposed in > plain text in any of the virtual tables. > Observed in 4.1.x and 5.0.x -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org