cpp/potential-system-data-exposure: Does printing a username from getpwuid() count as potential exposure of sensitive system data?
Abierto
question
- Lenguaje dominante
- CodeQL
- Estrellas
- 10.1k
- Forks
- 2.1k
- Merge medio
- 2 d 15 h
- PR fusionados (30 d)
- 141
Descripción
https://github.com/ryao/zfs/security/code-scanning/824
https://github.com/ryao/zfs/blob/3881dd42bbfb7297f08e796c38b35d54e11ac500/cmd/zpool/zpool_main.c#L9431-L9431
Does telling a user his own username really count as potential exposure of sensitive information?
I guess this could be dependent on your threat model since a threat model for an IoT device is certainly different from a threat model for a standard multi-user system. However, I wonder if a username, which is public information in most threat models for C/C++ software, really should be counted as sensitive information by `cpp/potential-system-data-exposure`.
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.