The following document contains the results of SpotBugs
SpotBugs Version is 4.9.3
Threshold is medium
Effort is default
Summary
Classes |
Bugs |
Errors |
Missing Classes |
180 |
9 |
0 |
8 |
Bug |
Category |
Details |
Line |
Priority |
Suppressing annotation on the method io.wcm.handler.media.impl.AbstractMediaFileServlet.doGet(SlingHttpServletRequest, SlingHttpServletResponse) is unnecessary |
STYLE |
US_USELESS_SUPPRESSION_ON_METHOD |
59-80 |
Medium |
Bug |
Category |
Details |
Line |
Priority |
Suppressing annotation on the method io.wcm.handler.media.impl.MediaHandlerImpl.processRequest(MediaRequest) is unnecessary |
STYLE |
US_USELESS_SUPPRESSION_ON_METHOD |
128-229 |
Medium |
Bug |
Category |
Details |
Line |
Priority |
The regular expression "(?<width>\\d+)(:(?<density>\\d+(\\.\\d+)?x))?(?<optional>\\?)?" is vulnerable to a denial of service attack (ReDOS) |
SECURITY |
REDOS |
46 |
Medium |
The regular expression "^\\s*\\d+(:\\d+(\\.\\d+)?x)?\\??\\s*(,\\s*\\d+(:\\d+(\\.\\d+)?x)?\\??\\s*)*+$" is vulnerable to a denial of service attack (ReDOS) |
SECURITY |
REDOS |
52 |
Medium |
Bug |
Category |
Details |
Line |
Priority |
The regular expression "^.*/plugins/crop(/aspectRatios(/([^/]+))?)?$" is vulnerable to a denial of service attack (ReDOS) |
SECURITY |
REDOS |
42 |
Medium |
The regular expression "^/wcmio:mediaHandler/ipeConfig((/[^/]+)+)/wcmio:mediaFormat((/[^/]+)+)/wcmio:config(/.*)?$" is vulnerable to a denial of service attack (ReDOS) |
SECURITY |
REDOS |
37 |
Medium |
Bug |
Category |
Details |
Line |
Priority |
Suppressing annotation on the class io.wcm.handler.mediasource.ngdm.impl.metadata.AccessTokenResponse is unnecessary |
STYLE |
US_USELESS_SUPPRESSION_ON_CLASS |
33 |
Medium |
Bug |
Category |
Details |
Line |
Priority |
Suppressing annotation on the class io.wcm.handler.mediasource.ngdm.impl.metadata.MetadataResponse is unnecessary |
STYLE |
US_USELESS_SUPPRESSION_ON_CLASS |
35 |
Medium |