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/libfcgi-2.4.0/cgi-fcgi/cgi-fcgi.c Examining data/libfcgi-2.4.0/libfcgi/os_win32.c Examining data/libfcgi-2.4.0/libfcgi/fcgi_stdio.c Examining data/libfcgi-2.4.0/libfcgi/fcgio.cpp Examining data/libfcgi-2.4.0/libfcgi/fcgiapp.c Examining data/libfcgi-2.4.0/libfcgi/os_unix.c Examining data/libfcgi-2.4.0/examples/authorizer.c Examining data/libfcgi-2.4.0/examples/log-dump.c Examining data/libfcgi-2.4.0/examples/echo-cpp.cpp Examining data/libfcgi-2.4.0/examples/echo.c Examining data/libfcgi-2.4.0/examples/size.c Examining data/libfcgi-2.4.0/examples/echo-x.c Examining data/libfcgi-2.4.0/examples/threaded.c Examining data/libfcgi-2.4.0/include/fcgi_config_x86.h Examining data/libfcgi-2.4.0/include/fcgio.h Examining data/libfcgi-2.4.0/include/fcgi_stdio.h Examining data/libfcgi-2.4.0/include/fcgios.h Examining data/libfcgi-2.4.0/include/fastcgi.h Examining data/libfcgi-2.4.0/include/fcgimisc.h Examining data/libfcgi-2.4.0/include/fcgiapp.h FINAL RESULTS: data/libfcgi-2.4.0/include/fcgi_stdio.h:189:9: [5] (buffer) gets: Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead. #undef gets data/libfcgi-2.4.0/include/fcgi_stdio.h:190:9: [5] (buffer) gets: Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead. #define gets FCGI_gets data/libfcgi-2.4.0/cgi-fcgi/cgi-fcgi.c:521:8: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. if(access(appPath, X_OK) == -1) { data/libfcgi-2.4.0/cgi-fcgi/cgi-fcgi.c:646:4: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(av[ac++], tp1); data/libfcgi-2.4.0/cgi-fcgi/cgi-fcgi.c:673:21: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(connectPathPtr, argv[i]); data/libfcgi-2.4.0/cgi-fcgi/cgi-fcgi.c:680:13: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(appPathPtr, argv[i]); data/libfcgi-2.4.0/examples/log-dump.c:126:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(temp2); data/libfcgi-2.4.0/include/fcgi_stdio.h:204:9: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #undef fprintf data/libfcgi-2.4.0/include/fcgi_stdio.h:205:9: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define fprintf FCGI_fprintf data/libfcgi-2.4.0/include/fcgi_stdio.h:206:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #undef printf data/libfcgi-2.4.0/include/fcgi_stdio.h:207:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define printf FCGI_printf data/libfcgi-2.4.0/include/fcgi_stdio.h:209:9: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #undef vfprintf data/libfcgi-2.4.0/include/fcgi_stdio.h:210:9: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define vfprintf FCGI_vfprintf data/libfcgi-2.4.0/include/fcgi_stdio.h:211:9: [4] (format) vprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #undef vprintf data/libfcgi-2.4.0/include/fcgi_stdio.h:212:9: [4] (format) vprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define vprintf FCGI_vprintf data/libfcgi-2.4.0/include/fcgi_stdio.h:233:9: [4] (shell) popen: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. #undef popen data/libfcgi-2.4.0/include/fcgi_stdio.h:234:9: [4] (shell) popen: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. #define popen FCGI_popen data/libfcgi-2.4.0/libfcgi/fcgi_stdio.c:52:14: [4] (shell) popen: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. extern FILE *popen(const char *command, const char *type); data/libfcgi-2.4.0/libfcgi/fcgi_stdio.c:57:9: [4] (shell) popen: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. #define popen _popen data/libfcgi-2.4.0/libfcgi/fcgi_stdio.c:603:13: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. n = vfprintf(fp->stdio_stream, format, ap); data/libfcgi-2.4.0/libfcgi/fcgi_stdio.c:632:16: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. return vfprintf(fp->stdio_stream, format, ap); data/libfcgi-2.4.0/libfcgi/fcgi_stdio.c:641:16: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. return vfprintf(FCGI_stdout->stdio_stream, format, ap); data/libfcgi-2.4.0/libfcgi/fcgi_stdio.c:776:19: [4] (shell) popen: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. FILE * file = popen(cmd, type); data/libfcgi-2.4.0/libfcgi/fcgiapp.c:675:8: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(buffPtr, fmtBuff, intArg); data/libfcgi-2.4.0/libfcgi/fcgiapp.c:680:29: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(buffPtr, fmtBuff, longArg); data/libfcgi-2.4.0/libfcgi/fcgiapp.c:685:29: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(buffPtr, fmtBuff, shortArg); data/libfcgi-2.4.0/libfcgi/fcgiapp.c:699:8: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(buffPtr, fmtBuff, unsignedArg); data/libfcgi-2.4.0/libfcgi/fcgiapp.c:704:8: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(buffPtr, fmtBuff, uLongArg); data/libfcgi-2.4.0/libfcgi/fcgiapp.c:709:29: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(buffPtr, fmtBuff, uShortArg); data/libfcgi-2.4.0/libfcgi/fcgiapp.c:720:8: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(buffPtr, fmtBuff, intArg); data/libfcgi-2.4.0/libfcgi/fcgiapp.c:741:5: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(buffPtr, fmtBuff, charPtrArg); data/libfcgi-2.4.0/libfcgi/fcgiapp.c:760:7: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(buffPtr, fmtBuff, voidPtrArg); data/libfcgi-2.4.0/libfcgi/fcgiapp.c:789:8: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(buffPtr, fmtBuff, doubleArg); data/libfcgi-2.4.0/libfcgi/fcgiapp.c:793:8: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(buffPtr, fmtBuff, lDoubleArg); data/libfcgi-2.4.0/libfcgi/fcgiapp.c:807:8: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(buffPtr, fmtBuff, doubleArg); data/libfcgi-2.4.0/libfcgi/fcgiapp.c:812:8: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(buffPtr, fmtBuff, lDoubleArg); data/libfcgi-2.4.0/libfcgi/fcgiapp.c:1483:17: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(responseP, "%c%c%s%c", len, 1, name, value); data/libfcgi-2.4.0/libfcgi/os_unix.c:309:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(host, bindPath); data/libfcgi-2.4.0/libfcgi/os_unix.c:412:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(host, bindPath); data/libfcgi-2.4.0/libfcgi/os_unix.c:553:2: [4] (shell) execl: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. execl(appPath, appPath, NULL); data/libfcgi-2.4.0/libfcgi/os_unix.c:938:9: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(sdup, str); data/libfcgi-2.4.0/libfcgi/os_win32.c:754:9: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(pipePath, bindPathPrefix); data/libfcgi-2.4.0/libfcgi/os_win32.c:755:9: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(pipePath, bindPath); data/libfcgi-2.4.0/libfcgi/os_win32.c:875:9: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(pipePath, bindPathPrefix); data/libfcgi-2.4.0/libfcgi/os_win32.c:876:9: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(pipePath, bindPath); data/libfcgi-2.4.0/cgi-fcgi/cgi-fcgi.c:751:16: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. equalPtr = getenv("CONTENT_LENGTH"); data/libfcgi-2.4.0/examples/authorizer.c:21:12: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. user = getenv("USER"); data/libfcgi-2.4.0/examples/authorizer.c:26:16: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. password = getenv("PASSWORD"); data/libfcgi-2.4.0/examples/authorizer.c:34:22: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. remoteUser = getenv("REMOTE_USER"); data/libfcgi-2.4.0/examples/authorizer.c:35:26: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. remotePassword = getenv("REMOTE_PASSWD"); data/libfcgi-2.4.0/examples/authorizer.c:44:31: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char *processId = getenv("QUERY_STRING"); data/libfcgi-2.4.0/examples/echo.c:49:31: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char *contentLength = getenv("CONTENT_LENGTH"); data/libfcgi-2.4.0/examples/log-dump.c:55:19: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. rolePtr = getenv("FCGI_ROLE"); data/libfcgi-2.4.0/examples/log-dump.c:61:20: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. queryString = getenv("QUERY_STRING"); data/libfcgi-2.4.0/examples/log-dump.c:73:10: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. getenv("URL_PATH"), failureCount); data/libfcgi-2.4.0/examples/log-dump.c:89:16: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. authPtr = getenv("LOG_ACCESS"); data/libfcgi-2.4.0/examples/log-dump.c:99:20: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. fileNamePtr = getenv("LOG_FILE"); data/libfcgi-2.4.0/libfcgi/fcgiapp.c:2092:9: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. p = getenv("FCGI_WEB_SERVER_ADDRS"); data/libfcgi-2.4.0/libfcgi/os_unix.c:175:42: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char *libfcgiOsClosePollTimeoutStr = getenv( "LIBFCGI_OS_CLOSE_POLL_TIMEOUT" ); data/libfcgi-2.4.0/libfcgi/os_unix.c:180:49: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char *libfcgiIsAfUnixKeeperPollTimeoutStr = getenv( "LIBFCGI_IS_AF_UNIX_KEEPER_POLL_TIMEOUT" ); data/libfcgi-2.4.0/libfcgi/os_win32.c:153:5: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. EnterCriticalSection(&fdTableCritical); data/libfcgi-2.4.0/libfcgi/os_win32.c:322:5: [3] (misc) InitializeCriticalSection: Exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. InitializeCriticalSection(&fdTableCritical); data/libfcgi-2.4.0/libfcgi/os_win32.c:353:11: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. val = getenv(SHUTDOWN_EVENT_NAME); data/libfcgi-2.4.0/libfcgi/os_win32.c:367:15: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. val = getenv(MUTEX_VARNAME); data/libfcgi-2.4.0/libfcgi/os_win32.c:490:19: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if((cLenPtr = getenv("CONTENT_LENGTH")) != NULL && data/libfcgi-2.4.0/libfcgi/os_win32.c:608:5: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. EnterCriticalSection(&fdTableCritical); data/libfcgi-2.4.0/cgi-fcgi/cgi-fcgi.c:70:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buff[BUFFLEN]; data/libfcgi-2.4.0/cgi-fcgi/cgi-fcgi.c:254:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&header + headerLen, ptr, count); data/libfcgi-2.4.0/cgi-fcgi/cgi-fcgi.c:300:25: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&erBody + sizeof(erBody) - contentLen, data/libfcgi-2.4.0/cgi-fcgi/cgi-fcgi.c:590:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char *tp1, data/libfcgi-2.4.0/cgi-fcgi/cgi-fcgi.c:594:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char line[BUFSIZ]; data/libfcgi-2.4.0/cgi-fcgi/cgi-fcgi.c:612: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). if((fp = fopen(argv[i], "r")) == NULL) { data/libfcgi-2.4.0/cgi-fcgi/cgi-fcgi.c:682:28: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). *nServersPtr = atoi(argv[i]); data/libfcgi-2.4.0/cgi-fcgi/cgi-fcgi.c:725:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char headerBuff[8]; data/libfcgi-2.4.0/cgi-fcgi/cgi-fcgi.c:730:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char appPath[MAXPATHLEN], bindPath[MAXPATHLEN]; data/libfcgi-2.4.0/cgi-fcgi/cgi-fcgi.c:753:23: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). bytesToRead = atoi(equalPtr); data/libfcgi-2.4.0/examples/log-dump.c:51:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char temp[4096]; data/libfcgi-2.4.0/examples/log-dump.c:52:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char temp2[5000]; data/libfcgi-2.4.0/examples/log-dump.c:109:11: [2] (misc) open: 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). fd = open(fileNamePtr, O_RDONLY, (S_IRGRP | S_IROTH | S_IRUSR)); data/libfcgi-2.4.0/examples/log-dump.c:125:11: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(&temp2[j], "<p>"); data/libfcgi-2.4.0/examples/size.c:20:15: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). scale = atoi(pathInfo+1); data/libfcgi-2.4.0/include/fastcgi.h:73:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char reserved[5]; data/libfcgi-2.4.0/include/fastcgi.h:100:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char reserved[3]; data/libfcgi-2.4.0/include/fastcgi.h:127:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char reserved[7]; data/libfcgi-2.4.0/include/fcgi_stdio.h:153:9: [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). #undef fopen data/libfcgi-2.4.0/include/fcgi_stdio.h:154:9: [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). #define fopen FCGI_fopen data/libfcgi-2.4.0/include/fcgi_stdio.h:226:9: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). #undef tmpfile data/libfcgi-2.4.0/include/fcgi_stdio.h:227:9: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). #define tmpfile FCGI_tmpfile data/libfcgi-2.4.0/libfcgi/fcgi_stdio.c:298:19: [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). FILE * file = fopen(path, mode); data/libfcgi-2.4.0/libfcgi/fcgi_stdio.c:344:28: [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). fp->stdio_stream = fopen(path, mode); data/libfcgi-2.4.0/libfcgi/fcgi_stdio.c:737:19: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). FILE * file = tmpfile(); data/libfcgi-2.4.0/libfcgi/fcgiapp.c:90:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(newString, str, strLen); data/libfcgi-2.4.0/libfcgi/fcgiapp.c:154:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(str, stream->rdNext, n); data/libfcgi-2.4.0/libfcgi/fcgiapp.c:166:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(str, stream->rdNext, m); data/libfcgi-2.4.0/libfcgi/fcgiapp.c:318:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(stream->wrNext, str, n); data/libfcgi-2.4.0/libfcgi/fcgiapp.c:330:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(stream->wrNext, str, m); data/libfcgi-2.4.0/libfcgi/fcgiapp.c:418:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char fmtBuff[FMT_BUFFLEN]; data/libfcgi-2.4.0/libfcgi/fcgiapp.c:419:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buff[PRINTF_BUFFLEN]; data/libfcgi-2.4.0/libfcgi/fcgiapp.c:516:4: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(fmtBuffPtr, "%d", minWidth); data/libfcgi-2.4.0/libfcgi/fcgiapp.c:545:8: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(fmtBuffPtr, "%d", precision); data/libfcgi-2.4.0/libfcgi/fcgiapp.c:1141:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char lenBuff[3]; data/libfcgi-2.4.0/libfcgi/fcgiapp.c:1459:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char response[64]; /* 64 = 8 + 3*(1+1+14+1)* + padding */ data/libfcgi-2.4.0/libfcgi/fcgiapp.c:1691:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(((char *)(&header)) + headerLen, stream->rdNext, count); data/libfcgi-2.4.0/libfcgi/os_unix.c:177:37: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). libfcgiOsClosePollTimeout = atoi(libfcgiOsClosePollTimeoutStr); data/libfcgi-2.4.0/libfcgi/os_unix.c:182:44: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). libfcgiIsAfUnixKeeperPollTimeout = atoi(libfcgiIsAfUnixKeeperPollTimeoutStr); data/libfcgi-2.4.0/libfcgi/os_unix.c:266:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(servAddrPtr->sun_path, bindPath, bindPathLen); data/libfcgi-2.4.0/libfcgi/os_unix.c:307:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char host[MAXPATHLEN]; data/libfcgi-2.4.0/libfcgi/os_unix.c:312:13: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if((port = atoi(tp)) == 0) { data/libfcgi-2.4.0/libfcgi/os_unix.c:408:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char host[MAXPATHLEN]; data/libfcgi-2.4.0/libfcgi/os_unix.c:415:13: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if((port = atoi(tp)) == 0) { data/libfcgi-2.4.0/libfcgi/os_unix.c:428:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&sa.inetVariant.sin_addr, hp->h_addr, hp->h_length); data/libfcgi-2.4.0/libfcgi/os_unix.c:774:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char trash[1024]; data/libfcgi-2.4.0/libfcgi/os_win32.c:356:41: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). HANDLE shutdownEvent = (HANDLE) atoi(val); data/libfcgi-2.4.0/libfcgi/os_win32.c:370:36: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). acceptMutex = (HANDLE) atoi(val); data/libfcgi-2.4.0/libfcgi/os_win32.c:491:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). atoi(cLenPtr) > 0) { data/libfcgi-2.4.0/libfcgi/os_win32.c:653:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[6]; data/libfcgi-2.4.0/libfcgi/os_win32.c:658:24: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). port = (short) atoi(buf); data/libfcgi-2.4.0/libfcgi/os_win32.c:843:6: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&sockAddr.sin_addr, hp->h_addr, hp->h_length); data/libfcgi-2.4.0/libfcgi/os_win32.c:1390:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char trash[1024]; data/libfcgi-2.4.0/cgi-fcgi/cgi-fcgi.c:641:32: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if((av[ac] = (char *)malloc(strlen(tp1)+1)) == NULL) { data/libfcgi-2.4.0/cgi-fcgi/cgi-fcgi.c:643:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). (int)strlen(tp1)+1); data/libfcgi-2.4.0/cgi-fcgi/cgi-fcgi.c:804:20: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). valueLen = strlen(equalPtr + 1); data/libfcgi-2.4.0/examples/authorizer.c:45:38: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (processId == NULL || strlen(processId) == 0) { data/libfcgi-2.4.0/examples/echo-cpp.cpp:79:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). cin.read(*content, clen); data/libfcgi-2.4.0/examples/echo.c:73:27: [1] (buffer) getchar: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if ((ch = getchar()) < 0) { data/libfcgi-2.4.0/examples/log-dump.c:120:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while((n = read(fd, temp, 4096)) > 0) { data/libfcgi-2.4.0/include/fcgi_stdio.h:178:9: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). #undef fgetc data/libfcgi-2.4.0/include/fcgi_stdio.h:179:9: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). #define fgetc FCGI_fgetc data/libfcgi-2.4.0/include/fcgi_stdio.h:180:9: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). #undef getc data/libfcgi-2.4.0/include/fcgi_stdio.h:181:9: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). #define getc FCGI_fgetc data/libfcgi-2.4.0/include/fcgi_stdio.h:182:9: [1] (buffer) getchar: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). #undef getchar data/libfcgi-2.4.0/include/fcgi_stdio.h:183:9: [1] (buffer) getchar: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). #define getchar FCGI_getchar data/libfcgi-2.4.0/libfcgi/fcgi_stdio.c:453:16: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return fgetc(fp->stdio_stream); data/libfcgi-2.4.0/libfcgi/fcgiapp.c:88:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int strLen = strlen(str); data/libfcgi-2.4.0/libfcgi/fcgiapp.c:358:29: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return FCGX_PutStr(str, strlen(str), stream); data/libfcgi-2.4.0/libfcgi/fcgiapp.c:437:17: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fStop = f + strlen(f); data/libfcgi-2.4.0/libfcgi/fcgiapp.c:517:39: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fmtBuffPtr += strlen(fmtBuffPtr); data/libfcgi-2.4.0/libfcgi/fcgiapp.c:546:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fmtBuffPtr += strlen(fmtBuffPtr); data/libfcgi-2.4.0/libfcgi/fcgiapp.c:598:19: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). buffReqd = strlen(charPtrArg); data/libfcgi-2.4.0/libfcgi/fcgiapp.c:676:41: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). buffCount = strlen(buffPtr); data/libfcgi-2.4.0/libfcgi/fcgiapp.c:681:41: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). buffCount = strlen(buffPtr); data/libfcgi-2.4.0/libfcgi/fcgiapp.c:686:41: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). buffCount = strlen(buffPtr); data/libfcgi-2.4.0/libfcgi/fcgiapp.c:700:41: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). buffCount = strlen(buffPtr); data/libfcgi-2.4.0/libfcgi/fcgiapp.c:705:41: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). buffCount = strlen(buffPtr); data/libfcgi-2.4.0/libfcgi/fcgiapp.c:710:41: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). buffCount = strlen(buffPtr); data/libfcgi-2.4.0/libfcgi/fcgiapp.c:721:41: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). buffCount = strlen(buffPtr); data/libfcgi-2.4.0/libfcgi/fcgiapp.c:738:45: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). buffCount = strlen(buffPtr); data/libfcgi-2.4.0/libfcgi/fcgiapp.c:742:38: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). buffCount = strlen(buffPtr); data/libfcgi-2.4.0/libfcgi/fcgiapp.c:761:33: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). buffCount = strlen(buffPtr); data/libfcgi-2.4.0/libfcgi/fcgiapp.c:790:41: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). buffCount = strlen(buffPtr); data/libfcgi-2.4.0/libfcgi/fcgiapp.c:794:41: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). buffCount = strlen(buffPtr); data/libfcgi-2.4.0/libfcgi/fcgiapp.c:808:41: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). buffCount = strlen(buffPtr); data/libfcgi-2.4.0/libfcgi/fcgiapp.c:813:41: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). buffCount = strlen(buffPtr); data/libfcgi-2.4.0/libfcgi/fcgiapp.c:1110:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(name); data/libfcgi-2.4.0/libfcgi/fcgiapp.c:1482:23: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(name); data/libfcgi-2.4.0/libfcgi/os_unix.c:253:23: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int bindPathLen = strlen(bindPath); data/libfcgi-2.4.0/libfcgi/os_unix.c:474:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return(read(fd, buf, len)); data/libfcgi-2.4.0/libfcgi/os_unix.c:783:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while (rv > 0 && read(fd, trash, sizeof(trash)) > 0); data/libfcgi-2.4.0/libfcgi/os_unix.c:897:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). len = read(aioPtr->fd, aioPtr->buf, aioPtr->len); data/libfcgi-2.4.0/libfcgi/os_unix.c:935:35: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). char * sdup = (char *) malloc(strlen(str) + 1); data/libfcgi-2.4.0/libfcgi/os_win32.c:655:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(buf, p, 6); data/libfcgi-2.4.0/libfcgi/os_win32.c:696:66: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (port && *bindPath != ':' && strncmp(bindPath, LOCALHOST, strlen(LOCALHOST))) data/libfcgi-2.4.0/libfcgi/os_win32.c:747:33: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). char *pipePath = malloc(strlen(bindPathPrefix) + strlen(bindPath) + 1); data/libfcgi-2.4.0/libfcgi/os_win32.c:747:58: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). char *pipePath = malloc(strlen(bindPathPrefix) + strlen(bindPath) + 1); data/libfcgi-2.4.0/libfcgi/os_win32.c:824:13: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(host, bindPath, len); data/libfcgi-2.4.0/libfcgi/os_win32.c:867:33: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). char *pipePath = malloc(strlen(bindPathPrefix) + strlen(bindPath) + 1); data/libfcgi-2.4.0/libfcgi/os_win32.c:867:58: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). char *pipePath = malloc(strlen(bindPathPrefix) + strlen(bindPath) + 1); data/libfcgi-2.4.0/libfcgi/os_win32.c:1524:14: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). p += strlen(ipaddr); data/libfcgi-2.4.0/libfcgi/os_win32.c:1530:14: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). p += strlen(ipaddr) + 1; ANALYSIS SUMMARY: Hits = 169 Lines analyzed = 9372 in approximately 0.29 seconds (32262 lines/second) Physical Source Lines of Code (SLOC) = 5091 Hits@level = [0] 52 [1] 50 [2] 53 [3] 21 [4] 43 [5] 2 Hits@level+ = [0+] 221 [1+] 169 [2+] 119 [3+] 66 [4+] 45 [5+] 2 Hits/KSLOC@level+ = [0+] 43.4099 [1+] 33.1958 [2+] 23.3746 [3+] 12.9641 [4+] 8.83913 [5+] 0.39285 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.