Rules
| Content by Label | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Guidelines
FIO04-J. Canonicalize path names before validating
FIO01-J. Do not let Runtime.exec() fail or block indefinitely
FIO02-J. Keep track of bytes read and account for character encoding while reading data
FIO03-J. Specify the character encoding while performing file or network IO
FIO08-J. Do not log sensitive information
FIO00-J. Defensively copy mutable inputs and mutable internal components
FIO06-J. Ensure all resources are properly closed when they are no longer needed
FIO33-J. Exclude user input from format strings
FIO07-J. Do not create temporary files in shared directories
FIO35-J. Reserved (moved to SDV00)
FIO05-J. Do not create multiple buffered wrappers on an InputStream
FIO01-J. Do not expose buffers created using the wrap() or duplicate() methods to untrusted code
Risk Assessment Summary
Recommendations
Recommendation Rule | Severity | Likelihood | Detectable | Remediation Cost Repairable | Priority | Level |
|---|---|---|---|---|---|---|
| FIO00-J | Medium | Unlikely medium | unlikely No | medium No | P4 P2 | L3 |
| FIO01-J | Medium | low Probable | probable No | medium No | P4 | L3 |
| FIO02-J | Medium | Probable | Yes | Yes | P12 | L1 |
| FIO03-J | Medium | Probable low | unlikely No | medium No | P2 P4 | L3 FIO03 |
| FIO04-J | Low | low Probable | unlikely Yes | medium No | P2 P4 | L3 |
...
| FIO05-J | RulesMedium | SeverityLikely | LikelihoodNo | Remediation CostNo | PriorityP6 | Level L2 FIO30 |
| FIO06-J | Low | medium Unlikely | probable No | high No | P4 P1 | L3 FIO31 |
| FIO07-J | Low | medium Probable | probable Yes | high No | P4 | L3 FIO32 |
| FIO08-J | High | Probable low | probable Yes | medium Yes | P4 P18 | L3 L1 FIO33 |
| FIO09-J | Low | Unlikely medium | unlikely No | medium Yes | P4 P2 | L3 FIO34 |
| FIO10-J | Low | high Unlikely | probable No | medium No | P12 P1 | L1 L3 FIO36 |
| FIO12-J | Low | low Unlikely | unlikely No | medium No | P2 P1 | L3 FIO37 |
| FIO13-J | Medium | Probable medium | likely No | low No | P18 P4 | L1 L3 |
| FIO14-J | Medium | Likely | No | No | P6 | L2 |
| FIO16-J | Medium | Unlikely | No | No | P2 | L3 |
...
OBJ09-J. Immutable classes must prohibit extension The CERT Sun Microsystems Secure Coding Standard for Java FIO04-J. Canonicalize path names before validating