Rules
| Content by Label | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Recommendations
FIO00-J. Canonicalize path names originating from untrusted sources
FIO01-J. Use Runtime.exec() correctly
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
Rules
FIO30-J. Do not log sensitive information
FIO31-J. Defensively copy mutable inputs and mutable internal components
FIO32-J. Ensure all resources are properly closed when they are no longer needed
FIO33-J. Exclude user input from format strings
FIO34-J. Create and delete temporary files safely
FIO36-J. Do not create multiple buffered wrappers on an InputStream
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 | Probable low | probable No | medium No | P4 | L3 |
| FIO02-J | Medium | Probable | Yes | Yes | P12 | L1 |
| FIO03-J | Medium | low Probable | 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 | Yes | Yes | P18 | L1 |
| FIO09-J | Low | Unlikely low | probable No | medium Yes | P4 P2 | L3 FIO33 |
| FIO10-J | Low | medium Unlikely | unlikely No | medium No | P4 P1 | L3 FIO34 |
| FIO12-J | Low | medium Unlikely | probable No | high No | P4 P1 | L3 FIO36 |
| FIO13-J | Medium | low Probable | unlikely No | medium No | P2 P4 | L3 |
| FIO14-J | Medium | Likely | No | No | P6 | L2 |
| FIO16-J | Medium | Unlikely | No | No | P2 | L3 |
...
OBJ38-J. Immutable classes must prohibit extension The CERT Sun Microsystems Secure Coding Standard for Java FIO00-J. Canonicalize path names originating from untrusted sources