Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Rules

Content by Label
showLabelsfalse
max99
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@3bbaf8c
showSpacefalse
sorttitle
cqllabel = "fio" and label = "rule" and label != "void" and space = currentSpace()
labels+fio, +rule, -void

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-JMediumUnlikely medium unlikely No medium No

P4 P2

L3

FIO01-JMedium low Probable probable No medium No

P4

L3

FIO02-JMediumProbableYesYes

P12

L1

FIO03-JMediumProbable low unlikely No medium No

P2 P4

L3 FIO03

FIO04-JLow low Probable unlikely Yes medium No

P2 P4

L3

...

Rules Severity Likelihood Remediation Cost Priority Level
FIO05-JMediumLikelyNoNo

P6

L2 FIO30

FIO06-JLow medium Unlikely probable No high No

P4 P1

L3 FIO31

FIO07-JLow medium Probable probable Yes high No

P4

L3 FIO32

FIO08-JHighProbable low probable Yes medium Yes

P4 P18

L3 L1 FIO33

FIO09-JLowUnlikely medium unlikely No medium Yes

P4 P2

L3 FIO34

FIO10-JLow high Unlikely probable No medium No

P12 P1

L1 L3 FIO36

FIO12-JLow low Unlikely unlikely No medium No

P2 P1

L3 FIO37

FIO13-JMediumProbable medium likely No low No

P18 P4

L1 L3

FIO14-JMediumLikelyNoNo

P6

L2

FIO16-JMediumUnlikelyNoNo

P2

L3


...

Image Added Image Added Image AddedOBJ09-J. Immutable classes must prohibit extension      The CERT Sun Microsystems Secure Coding Standard for Java      FIO04-J. Canonicalize path names before validating