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 | medium Unlikely | unlikely No | medium No | P4 P2 | L3 |
| FIO01-J | Medium | Probable low | probable No | medium No | P4 | L3 |
| FIO02-J | Medium | Probable low | unlikely Yes | medium Yes | P2 P12 | L3 L1 |
| FIO03-J | Medium | Probable low | unlikely No | medium No | P2 P4 | L3 |
...
| FIO04-J | RulesLow | SeverityProbable | LikelihoodYes | Remediation CostNo | PriorityP4 | Level L3 FIO30 | ||
| FIO05-J | Medium | medium Likely | probable No | high No | P4 P6 | L3 L2 FIO31 | ||
| FIO06-J | Low | medium Unlikely | probable No | high No | P4 P1 | L3 FIO32 | ||
| FIO07-J | Low | low Probable | probable Yes | medium No | P4 | L3 FIO33 | ||
| FIO08-J | High | Probable medium | unlikely Yes | medium Yes | P4 P18 | L3 L1 FIO34 | ||
| FIO09-J | Low | Unlikely medium | probable No | high Yes | P4 P2 | L3 FIO36 | ||
| FIO10-J | Low | Unlikely low | unlikely No | medium No | P2 P1 | L3 FIO37 | ||
| FIO12-J | Low | Unlikely | No | No | P1 | L3 | ||
| FIO13-J | Medium | P??? | L??? | Probable | No | No | 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