Deprecated test suite
Juliet Java 1.0 with extra support Test suite #69
DownloadDescription
This is a collection of test cases in the Java language. It contains examples for 106 different CWEs. NOTE: This package contains only individual test cases. We recommend to download the full test suite at the top of the "Test Suite" page. All documents related to the Juliet Test Suite can be found at the documents page
Displaying test cases 4776 - 4800 of 14184 in total
-
CWE: 23 Relative Path Traversal BadSource: listen_tcp Read data using a listening tcp connection GoodSource: A hardcoded string BadSink: readFile no validation Flow Variant: 19 Control flow: Dead code after an if(true) return
-
CWE: 23 Relative Path Traversal BadSource: listen_tcp Read data using a listening tcp connection GoodSource: A hardcoded string Sinks: readFile BadSink : no validation Flow Variant: 31 Data flow: make a copy of data within the same method
-
CWE: 23 Relative Path Traversal BadSource: listen_tcp Read data using a listening tcp connection GoodSource: A hardcoded string BadSink: readFile no validation Flow Variant: 41 Data flow: data passed as an argument from one method to another in the same class
-
CWE: 23 Relative Path Traversal BadSource: listen_tcp Read data using a listening tcp connection GoodSource: A hardcoded string BadSink: readFile no validation Flow Variant: 42 Data flow: data returned from one method to another in the same class
-
CWE: 23 Relative Path Traversal BadSource: listen_tcp Read data using a listening tcp connection GoodSource: A hardcoded string Sinks: readFile BadSink : no validation Flow Variant: 45 Data flow: data passed as a private class member variable from one function to another in the same class
-
CWE: 23 Relative Path Traversal BadSource: listen_tcp Read data using a listening tcp connection GoodSource: A hardcoded string BadSink: readFile no validation Flow Variant: 51 Data flow: data passed as an argument from one function to another in different classes in the same package
-
CWE: 23 Relative Path Traversal BadSource: listen_tcp Read data using a listening tcp connection GoodSource: A hardcoded string Sinks: readFile BadSink : no validation Flow Variant: 52 Data flow: data passed as an argument from one method to another to another in three different classes in t...
-
CWE: 23 Relative Path Traversal BadSource: listen_tcp Read data using a listening tcp connection GoodSource: A hardcoded string Sinks: readFile BadSink : no validation Flow Variant: 53 Data flow: data passed as an argument from one method to another to another in three different classes in t...
-
CWE: 23 Relative Path Traversal BadSource: listen_tcp Read data using a listening tcp connection GoodSource: A hardcoded string Sinks: readFile BadSink : no validation Flow Variant: 53 Data flow: data passed as an argument from one method through two others to a fourth; all four functions ar...
-
CWE: 23 Relative Path Traversal BadSource: listen_tcp Read data using a listening tcp connection GoodSource: A hardcoded string Sinks: readFile BadSink : no validation Flow Variant: 54 Data flow: data passed as an argument from one method through three others to a fifth; all five functions a...
-
CWE: 23 Relative Path Traversal BadSource: listen_tcp Read data using a listening tcp connection GoodSource: A hardcoded string Sinks: readFile BadSink : no validation Flow Variant: 61 Data flow: data returned from one method to another in different classes in the same package
-
CWE: 23 Relative Path Traversal BadSource: listen_tcp Read data using a listening tcp connection GoodSource: A hardcoded string Sinks: readFile BadSink : no validation Flow Variant: 66 Data flow: data passed in an array from one method to another in different source files in the same package
-
CWE: 23 Relative Path Traversal BadSource: listen_tcp Read data using a listening tcp connection GoodSource: A hardcoded string Sinks: readFile BadSink : no validation Flow Variant: 67 Data flow: data passed in a class from one method to another in different source files in the same package
-
CWE: 23 Relative Path Traversal BadSource: listen_tcp Read data using a listening tcp connection GoodSource: A hardcoded string BadSink: readFile no validation Flow Variant: 68 Data flow: data passed as a member variable in the "a" class, which is used by a method in another class in the same...
-
CWE: 23 Relative Path Traversal BadSource: listen_tcp Read data using a listening tcp connection GoodSource: A hardcoded string Sinks: readFile BadSink : no validation Flow Variant: 71 Data flow: data passed as an Object reference argument from one method to another in different classes in t...
-
Explicitly throw an Error that will not be caught by any code and the JVM will halt. Unfortunately the design of our test cases don't let us throw an Exception (runTest() in AbstractTestCase is not declared as throwing anything and adding a throw cascades to updates to all test case files).
-
CWE: 256 Plaintext Storage of a Password. Read the password from a Properties file or a regular file. In the good case, read the file from the console. BadSource: PropertiesFile Read data from a .properties file (from the property named data) GoodSource: Read data from the console using readL...
-
CWE: 256 Plaintext Storage of a Password. Read the password from a Properties file or a regular file. In the good case, read the file from the console. BadSource: PropertiesFile Read data from a .properties file (from the property named data) GoodSource: Read data from the console using readL...
-
CWE: 256 Plaintext Storage of a Password. Read the password from a Properties file or a regular file. In the good case, read the file from the console. BadSource: PropertiesFile Read data from a .properties file (from the property named data) GoodSource: Read data from the console using readL...
-
CWE: 256 Plaintext Storage of a Password. Read the password from a Properties file or a regular file. In the good case, read the file from the console. BadSource: PropertiesFile Read data from a .properties file (from the property named data) GoodSource: Read data from the console using readL...
-
CWE: 256 Plaintext Storage of a Password. Read the password from a Properties file or a regular file. In the good case, read the file from the console. BadSource: PropertiesFile Read data from a .properties file (from the property named data) GoodSource: Read data from the console using readL...
-
CWE: 256 Plaintext Storage of a Password. Read the password from a Properties file or a regular file. In the good case, read the file from the console. BadSource: PropertiesFile Read data from a .properties file (from the property named data) GoodSource: Read data from the console using readL...
-
CWE: 256 Plaintext Storage of a Password. Read the password from a Properties file or a regular file. In the good case, read the file from the console. BadSource: PropertiesFile Read data from a .properties file (from the property named data) GoodSource: Read data from the console using readL...
-
CWE: 256 Plaintext Storage of a Password. Read the password from a Properties file or a regular file. In the good case, read the file from the console. BadSource: PropertiesFile Read data from a .properties file (from the property named data) GoodSource: Read data from the console using readL...
-
CWE: 256 Plaintext Storage of a Password. Read the password from a Properties file or a regular file. In the good case, read the file from the console. BadSource: PropertiesFile Read data from a .properties file (from the property named data) GoodSource: Read data from the console using readL...