Flawfinder version 2.0.10, (C) 2001-2019 David A. Wheeler. Number of rules (primarily dangerous function names) in C/C++ ruleset: 223 Examining data/libnss-extrausers-0.6/s_config.h Examining data/libnss-extrausers-0.6/passwd.c Examining data/libnss-extrausers-0.6/shadow.c Examining data/libnss-extrausers-0.6/group.c FINAL RESULTS: data/libnss-extrausers-0.6/group.c:224:16: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). groupsfile = fopen(GROUPSFILE, "re"); data/libnss-extrausers-0.6/group.c:259:6: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). f = fopen(GROUPSFILE, "re"); data/libnss-extrausers-0.6/group.c:279:6: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). f = fopen(GROUPSFILE, "re"); data/libnss-extrausers-0.6/passwd.c:81:12: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). stream = fopen(USERSFILE, "re"); data/libnss-extrausers-0.6/passwd.c:219:14: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). usersfile = fopen(USERSFILE, "re"); data/libnss-extrausers-0.6/shadow.c:64:11: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). stream = fopen(SHADOWFILE, "re"); data/libnss-extrausers-0.6/shadow.c:84:15: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). shadowfile = fopen(SHADOWFILE, "r"); data/libnss-extrausers-0.6/shadow.c:110:16: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). shadowfile = fopen(SHADOWFILE, "r"); ANALYSIS SUMMARY: Hits = 8 Lines analyzed = 759 in approximately 0.07 seconds (11300 lines/second) Physical Source Lines of Code (SLOC) = 550 Hits@level = [0] 0 [1] 0 [2] 8 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 8 [1+] 8 [2+] 8 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 14.5455 [1+] 14.5455 [2+] 14.5455 [3+] 0 [4+] 0 [5+] 0 Dot directories skipped = 1 (--followdotdir overrides) Minimum risk level = 1 Not every hit is necessarily a security vulnerability. There may be other security vulnerabilities; review your code! See 'Secure Programming HOWTO' (https://dwheeler.com/secure-programs) for more information.