Juliet C/C++ 1.0 Test suite #25
DownloadDescription
A collection of test cases in the C/C++ language. It contains examples for 116 different CWEs. This software is not subject to copyright protection and is in the public domain. NIST assumes no responsibility whatsoever for its use by other parties, and makes no guaranties, expressed or implied, about its quality, reliability, or any other characteristic. All documents related to the Juliet Test Suite can be found at the documents page.
Documentation
Displaying test cases 15401 - 15425 of 45309 in total
-
CWE: 187 Partial Comparison BadSource: substring Provide a password that is a shortened version of the actual password GoodSource: Provide a matching password Sinks: str GoodSink: Compare the 2 passwords correctly BadSink : use wcsstr() to do password match, which is a partial comparison Fl...
-
CWE: 187 Partial Comparison BadSource: substring Provide a password that is a shortened version of the actual password GoodSource: Provide a matching password Sinks: str GoodSink: Compare the 2 passwords correctly BadSink : use wcsstr() to do password match, which is a partial comparison Fl...
-
CWE: 187 Partial Comparison BadSource: substring Provide a password that is a shortened version of the actual password GoodSource: Provide a matching password Sinks: str GoodSink: Compare the 2 passwords correctly BadSink : use wcsstr() to do password match, which is a partial comparison Fl...
-
CWE: 187 Partial Comparison BadSource: substring Provide a password that is a shortened version of the actual password GoodSource: Provide a matching password Sinks: str GoodSink: Compare the 2 passwords correctly BadSink : use wcsstr() to do password match, which is a partial comparison Fl...
-
CWE: 187 Partial Comparison BadSource: substring Provide a password that is a shortened version of the actual password GoodSource: Provide a matching password Sinks: str GoodSink: Compare the 2 passwords correctly BadSink : use wcsstr() to do password match, which is a partial comparison Fl...
-
CWE: 187 Partial Comparison BadSource: substring Provide a password that is a shortened version of the actual password GoodSource: Provide a matching password Sinks: str GoodSink: Compare the 2 passwords correctly BadSink : use wcsstr() to do password match, which is a partial comparison Fl...
-
CWE: 187 Partial Comparison BadSource: substring Provide a password that is a shortened version of the actual password GoodSource: Provide a matching password Sinks: str GoodSink: Compare the 2 passwords correctly BadSink : use wcsstr() to do password match, which is a partial comparison Fl...
-
CWE: 187 Partial Comparison BadSource: substring Provide a password that is a shortened version of the actual password GoodSource: Provide a matching password Sinks: str GoodSink: Compare the 2 passwords correctly BadSink : use wcsstr() to do password match, which is a partial comparison Fl...
-
CWE: 187 Partial Comparison BadSource: substring Provide a password that is a shortened version of the actual password GoodSource: Provide a matching password Sinks: str GoodSink: Compare the 2 passwords correctly BadSink : use wcsstr() to do password match, which is a partial comparison Fl...
-
CWE: 187 Partial Comparison BadSource: substring Provide a password that is a shortened version of the actual password GoodSource: Provide a matching password Sinks: str GoodSink: Compare the 2 passwords correctly BadSink : use wcsstr() to do password match, which is a partial comparison Fl...
-
CWE: 187 Partial Comparison BadSource: substring Provide a password that is a shortened version of the actual password GoodSource: Provide a matching password Sinks: str GoodSink: Compare the 2 passwords correctly BadSink : use wcsstr() to do password match, which is a partial comparison Fl...
-
CWE: 187 Partial Comparison BadSource: substring Provide a password that is a shortened version of the actual password GoodSource: Provide a matching password Sinks: str GoodSink: Compare the 2 passwords correctly BadSink : use wcsstr() to do password match, which is a partial comparison Fl...
-
CWE: 187 Partial Comparison BadSource: substring Provide a password that is a shortened version of the actual password GoodSource: Provide a matching password Sinks: str GoodSink: Compare the 2 passwords correctly BadSink : use wcsstr() to do password match, which is a partial comparison Fl...
-
CWE: 187 Partial Comparison BadSource: substring Provide a password that is a shortened version of the actual password GoodSource: Provide a matching password Sinks: str GoodSink: Compare the 2 passwords correctly BadSink : use wcsstr() to do password match, which is a partial comparison Fl...
-
CWE: 187 Partial Comparison BadSource: substring Provide a password that is a shortened version of the actual password GoodSource: Provide a matching password Sinks: str GoodSink: Compare the 2 passwords correctly BadSink : use wcsstr() to do password match, which is a partial comparison Fl...
-
CWE: 187 Partial Comparison BadSource: substring Provide a password that is a shortened version of the actual password GoodSource: Provide a matching password Sinks: str GoodSink: Compare the 2 passwords correctly BadSink : use wcsstr() to do password match, which is a partial comparison Fl...
-
CWE: 187 Partial Comparison BadSource: substring Provide a password that is a shortened version of the actual password GoodSource: Provide a matching password Sinks: str GoodSink: Compare the 2 passwords correctly BadSink : use wcsstr() to do password match, which is a partial comparison Fl...
-
CWE: 187 Partial Comparison BadSource: substring Provide a password that is a shortened version of the actual password GoodSource: Provide a matching password Sinks: str GoodSink: Compare the 2 passwords correctly BadSink : use wcsstr() to do password match, which is a partial comparison Fl...
-
CWE: 187 Partial Comparison BadSource: substring Provide a password that is a shortened version of the actual password GoodSource: Provide a matching password Sinks: str GoodSink: Compare the 2 passwords correctly BadSink : use wcsstr() to do password match, which is a partial comparison Fl...
-
CWE: 188 Reliance on Data Memory Layout Sinks: modify_local GoodSink: Modify the second field of the struct using the field name BadSink : Attempt to modify second field in struct, assuming the first field is an int Flow Variant: 01 Baseline
-
CWE: 188 Reliance on Data Memory Layout Sinks: modify_local GoodSink: Modify the second field of the struct using the field name BadSink : Attempt to modify second field in struct, assuming the first field is an int Flow Variant: 02 Control flow: if(1) and if(0)
-
CWE: 188 Reliance on Data Memory Layout Sinks: modify_local GoodSink: Modify the second field of the struct using the field name BadSink : Attempt to modify second field in struct, assuming the first field is an int Flow Variant: 03 Control flow: if(5==5) and if(5!=5)
-
CWE: 188 Reliance on Data Memory Layout Sinks: modify_local GoodSink: Modify the second field of the struct using the field name BadSink : Attempt to modify second field in struct, assuming the first field is an int Flow Variant: 04 Control flow: if(static_const_t) and if(static_const_f)
-
CWE: 188 Reliance on Data Memory Layout Sinks: modify_local GoodSink: Modify the second field of the struct using the field name BadSink : Attempt to modify second field in struct, assuming the first field is an int Flow Variant: 05 Control flow: if(static_t) and if(static_f)
-
CWE: 188 Reliance on Data Memory Layout Sinks: modify_local GoodSink: Modify the second field of the struct using the field name BadSink : Attempt to modify second field in struct, assuming the first field is an int Flow Variant: 06 Control flow: if(static_const_five==5) and if(static_const_f...