SAMATE Logo NIST Logo The SAMATE Project Department of Homeland Security

View/Download Test Cases

Test Suite #63: Java Test Suite for Source Code Analyzer - weakness

Results: 27 test cases in 2 pages. Pages: 1 2
Go to page:

Select Test Case ID(up) Submission Date Language Type of Artifact Status Description Weakness Bad
Good
Mixed
20902009-08-21JavaSource CodeAccepted The code, with a container complexity, creates a file from data ...CWE-099: Improper Control of Resource Identifiers ('Resource Injection')
Bad test case
20892009-08-21JavaSource CodeAccepted The code, with a scope complexity, creates a file from data ...CWE-099: Improper Control of Resource Identifiers ('Resource Injection')
Bad test case
20882009-08-21JavaSource CodeAccepted The code creates a file from data read, without filtering.CWE-099: Improper Control of Resource Identifiers ('Resource Injection')
Bad test case
20872009-08-21JavaSource CodeAccepted The code, with a loop structure complexity, tries to execute a ...CWE-078: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Bad test case
20862009-08-21JavaSource CodeAccepted The code, with a local control flow complexity, tries to execute ...CWE-078: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Bad test case
20852009-08-21JavaSource CodeAccepted The code, with a scope complexity, tries to execute a system ...CWE-078: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Bad test case
20842009-08-21JavaSource CodeAccepted The code tries to execute a system command, read from the input ...CWE-078: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Bad test case
1 2
Total of selected test cases: 27
Total pages: 2