Juliet Java 1.0 Test suite #24
DownloadDescription
A collection of test cases in the Java language. It contains examples for 106 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 1426 - 1450 of 14184 in total
-
CWE: 114 Process Control Sinks: GoodSink: use System.load() to load a library BadSink : use System.loadLibrary() to load a library Flow Variant: 17 Control flow: for loops
-
CWE: 114 Process Control Sinks: GoodSink: use System.load() to load a library BadSink : use System.loadLibrary() to load a library Flow Variant: 19 Control flow: Dead code after an if(true) return
-
CWE: 134 Uncontrolled Format String BadSource: Environment Read a string from an environment variable GoodSource: A hardcoded string Sinks: format GoodSink: dynamic formatted stdout with string defined BadSink : dynamic formatted stdout without validation Flow Variant: 01 Baseline
-
CWE: 134 Uncontrolled Format String BadSource: Environment Read a string from an environment variable GoodSource: A hardcoded string Sinks: format GoodSink: dynamic formatted stdout with string defined BadSink : dynamic formatted stdout without validation Flow Variant: 02 Control flow: if(t...
-
CWE: 134 Uncontrolled Format String BadSource: Environment Read a string from an environment variable GoodSource: A hardcoded string Sinks: format GoodSink: dynamic formatted stdout with string defined BadSink : dynamic formatted stdout without validation Flow Variant: 03 Control flow: if(5...
-
CWE: 134 Uncontrolled Format String BadSource: Environment Read a string from an environment variable GoodSource: A hardcoded string Sinks: format GoodSink: dynamic formatted stdout with string defined BadSink : dynamic formatted stdout without validation Flow Variant: 04 Control flow: if(p...
-
CWE: 134 Uncontrolled Format String BadSource: Environment Read a string from an environment variable GoodSource: A hardcoded string Sinks: format GoodSink: dynamic formatted stdout with string defined BadSink : dynamic formatted stdout without validation Flow Variant: 05 Control flow: if(p...
-
CWE: 134 Uncontrolled Format String BadSource: Environment Read a string from an environment variable GoodSource: A hardcoded string Sinks: format GoodSink: dynamic formatted stdout with string defined BadSink : dynamic formatted stdout without validation Flow Variant: 06 Control flow: if(p...
-
CWE: 134 Uncontrolled Format String BadSource: Environment Read a string from an environment variable GoodSource: A hardcoded string Sinks: format GoodSink: dynamic formatted stdout with string defined BadSink : dynamic formatted stdout without validation Flow Variant: 07 Control flow: if(p...
-
CWE: 134 Uncontrolled Format String BadSource: Environment Read a string from an environment variable GoodSource: A hardcoded string Sinks: format GoodSink: dynamic formatted stdout with string defined BadSink : dynamic formatted stdout without validation Flow Variant: 08 Control flow: if(p...
-
CWE: 134 Uncontrolled Format String BadSource: Environment Read a string from an environment variable GoodSource: A hardcoded string Sinks: format GoodSink: dynamic formatted stdout with string defined BadSink : dynamic formatted stdout without validation Flow Variant: 09 Control flow: if(I...
-
CWE: 134 Uncontrolled Format String BadSource: Environment Read a string from an environment variable GoodSource: A hardcoded string Sinks: format GoodSink: dynamic formatted stdout with string defined BadSink : dynamic formatted stdout without validation Flow Variant: 10 Control flow: if(I...
-
CWE: 134 Uncontrolled Format String BadSource: Environment Read a string from an environment variable GoodSource: A hardcoded string Sinks: format GoodSink: dynamic formatted stdout with string defined BadSink : dynamic formatted stdout without validation Flow Variant: 11 Control flow: if(I...
-
CWE: 134 Uncontrolled Format String BadSource: Environment Read a string from an environment variable GoodSource: A hardcoded string Sinks: format GoodSink: dynamic formatted stdout with string defined BadSink : dynamic formatted stdout without validation Flow Variant: 12 Control flow: if(I...
-
CWE: 134 Uncontrolled Format String BadSource: Environment Read a string from an environment variable GoodSource: A hardcoded string Sinks: format GoodSink: dynamic formatted stdout with string defined BadSink : dynamic formatted stdout without validation Flow Variant: 13 Control flow: if(I...
-
CWE: 134 Uncontrolled Format String BadSource: Environment Read a string from an environment variable GoodSource: A hardcoded string Sinks: format GoodSink: dynamic formatted stdout with string defined BadSink : dynamic formatted stdout without validation Flow Variant: 14 Control flow: if(I...
-
CWE: 134 Uncontrolled Format String BadSource: Environment Read a string from an environment variable GoodSource: A hardcoded string Sinks: format GoodSink: dynamic formatted stdout with string defined BadSink : dynamic formatted stdout without validation Flow Variant: 15 Control flow: swit...
-
CWE: 134 Uncontrolled Format String BadSource: Environment Read a string from an environment variable GoodSource: A hardcoded string Sinks: format GoodSink: dynamic formatted stdout with string defined BadSink : dynamic formatted stdout without validation Flow Variant: 16 Control flow: whil...
-
CWE: 134 Uncontrolled Format String BadSource: Environment Read a string from an environment variable GoodSource: A hardcoded string Sinks: format GoodSink: dynamic formatted stdout with string defined BadSink : dynamic formatted stdout without validation Flow Variant: 17 Control flow: for ...
-
CWE: 134 Uncontrolled Format String BadSource: Environment Read a string from an environment variable GoodSource: A hardcoded string Sinks: format GoodSink: dynamic formatted stdout with string defined BadSink : dynamic formatted stdout without validation Flow Variant: 19 Control flow: Dead...
-
CWE: 134 Uncontrolled Format String BadSource: Environment Read a string from an environment variable GoodSource: A hardcoded string Sinks: format GoodSink: dynamic formatted stdout with string defined BadSink : dynamic formatted stdout without validation Flow Variant: 31 Data flow: make a ...
-
CWE: 134 Uncontrolled Format String BadSource: Environment Read a string from an environment variable GoodSource: A hardcoded string Sinks: format GoodSink: dynamic formatted stdout with string defined BadSink : dynamic formatted stdout without validation Flow Variant: 41 Data flow: data pa...
-
CWE: 134 Uncontrolled Format String BadSource: Environment Read a string from an environment variable GoodSource: A hardcoded string Sinks: format GoodSink: dynamic formatted stdout with string defined BadSink : dynamic formatted stdout without validation Flow Variant: 42 Data flow: data re...
-
CWE: 134 Uncontrolled Format String BadSource: Environment Read a string from an environment variable GoodSource: A hardcoded string Sinks: format GoodSink: dynamic formatted stdout with string defined BadSink : dynamic formatted stdout without validation Flow Variant: 45 Data flow: data pa...
-
CWE: 134 Uncontrolled Format String BadSource: Environment Read a string from an environment variable GoodSource: A hardcoded string Sinks: format GoodSink: dynamic formatted stdout with string defined BadSink : dynamic formatted stdout without validation Flow Variant: 51 Data flow: data pa...