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

Recommendations

FIO00-J. Canonicalize path names originating from untrusted sources

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

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

FIO35-J. Always validate user input

FIO36-J. Do not create multiple buffered wrappers on an InputStream

FIO37-J. Do not expose buffers created using the wrap() or duplicate() methods to untrusted code

FIO38-J. Do not use file locks for arbitrating file access at the thread level

Risk Assessment Summary

Recommendations

Recommendation Rule

Severity

Likelihood

Detectable

Repairable Remediation Cost

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-JMediumProbableNoNo

P4

low

unlikely

medium

P2

L3 FIO03

FIO04-JLowProbable low unlikely Yes medium No

P2 P4

L3

...

Rules Severity Likelihood Remediation Cost Priority Level
FIO05-JMediumLikelyNoNo

P6

L2 FIO30

FIO06-JLowUnlikely medium probable No high No

P4 P1

L3 FIO31

FIO07-JLow medium Probable probable Yes high No

P4

L3

FIO32- J

low

probable

medium

P4

L3

FIO33- J

medium

unlikely

medium

P4

L3

FIO34- J

medium

probable

high

P4

L3

FIO36- J

low

unlikely

medium

P2

L3

FIO08-JHighProbableYesYes

P18

L1

FIO09-JLowUnlikelyNoYes

P2

L3

FIO10-JLowUnlikelyNoNo

P1

L3

FIO12-JLowUnlikelyNoNo

P1

L3

FIO13-JMediumProbableNoNo

P4

L3

FIO14-JMediumLikelyNoNo

P6

L2

FIO16-JMediumUnlikelyNoNo

P2

L3


...

Image Added Image Added Image AddedOBJ38-J. Immutable classes must prohibit extension      The CERT Sun Microsystems Secure Coding Standard for Java      FIO00-J. Canonicalize path names originating from untrusted sources