The logs of sensitive information (PII) or hardware identifier should only be printed in Android userdebug or eng build. StatusBarNotification.getKey() could contain sensitive information. However, CarNotificationListener.java, it prints out the StatusBarNotification.getKey() directly in logs, which could contain users account name (i.e. PII), in Android user build.Product: AndroidVersions: Android-12LAndroid ID: A-205567776
Information written to log files can be of a sensitive nature and give valuable guidance to an attacker or expose sensitive user information.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Android | 12.1 (including) | 12.1 (including) |
While logging all information may be helpful during development stages, it is important that logging levels be set appropriately before a product ships so that sensitive user data and system information are not accidentally exposed to potential attackers. Different log files may be produced and stored for: