This issue was addressed with improved redaction of sensitive information. This issue is fixed in macOS Sonoma 14.3, watchOS 10.3, tvOS 17.3, iOS 17.3 and iPadOS 17.3. An app may be able to view a user's phone number in system logs.
https://support.apple.com/en-us/HT214061
https://support.apple.com/en-us/HT214060
https://support.apple.com/en-us/HT214059
https://support.apple.com/en-us/HT214055
http://seclists.org/fulldisclosure/2024/Jan/40
http://seclists.org/fulldisclosure/2024/Jan/39