This documentation is not maintained. Please refer to doc.castsoftware.com/technologies to find the latest updates.

1.4.4-funcrel

Other Updates

Details
Fixes an issue wherein analysis of files containing a Java try-catch was incomplete.

Rules

Rule IdNew RuleDetails
1039024FALSEMultiple web files and instances of Cookie in a method are handled for the rule: “Avoid using unsecured cookie (JEE)”.
1039026FALSEMultiple web files and instances of Cookie in a method are handled for the rule: “Avoid creating cookie without setting httpOnly option (JEE)".
1039032FALSEImproved the coverage of the rule: “Avoid using DocumentBuilder without restriction of XML External Entity Reference (XXE)”.
1039034FALSEImproved the coverage of the rule: “Avoid using SAXParserFactory without restriction of XML External Entity Reference (XXE)".
1039036FALSEImproved the coverage of the rule: “Avoid using XMLReader without restriction of XML External Entity Reference (XXE)”.
1039038FALSEImproved the coverage of the rule: “Avoid using XPathFactory without restriction of XML External Entity Reference (XXE)”.
1039040FALSEImproved the coverage of the rule: “Avoid using XMLStreamReader without restriction of XML External Entity Reference (XXE)”.

1.4.3-funcrel

Other Updates

Details
Fixes issues related to missing bookmarks in Java Web XML objects.
Added support for various signatures (when SSLContext.getInstance() is called with several parameters) to the rule (1039002): “Avoid using deprecated SSL protocols to secure connection”.
Added icons for Java Web XML objects.

1.4.2-funcrel

Other Updates

Details
Analysis is blocked, while analyzing JEE source code.

1.4.1-funcrel

Other Updates

Details
Wording hardcoded -> hard-coded (a wording issue)

1.4.0-funcrel

Note

This release of the extension contains a large number of rule related improvements, which will have a significant impact on any existing analysis results generated with a previous release of the extension. When re-analyzing existing and unchanged source code with this new extension, you should therefore expect grade and violation changes. When using AIP Console, if you do not want this extension to be used, you should ensure that you implement an extension strategy to prevent the automatic download and installation of the extension. If you are onboarding a new application, CAST actively encourages you to use this new release to take advantage of the improvements that have been implemented.

Other Updates

Details
Thresholds has been updated for critical rules

Rules

Rule IdNew RuleDetails
1039066FALSEAvoid creating cookie with overly broad path (JEE)
1039064FALSEAvoid having cookie with an overly broad domain (JEE)
1039008FALSEAvoid thrown Exceptions in servlet methods
1039016FALSEAvoid Unvalidated URL Redirect
1039014FALSEAvoid using Cipher with no HMAC to ensure data integrity
1039018FALSEAvoid using cryptography hash with hardcoded salt
1039030FALSEAvoid using DefaultHttpClient constructor
1039004FALSEAvoid using HttpServletRequest.getRequestedSessionId()
1039022FALSEAvoid using Insecure PBE Iteration Count
1039020FALSEAvoid using javax.crypto.NullCipher
1039006FALSEAvoid using predictable SecureRandom Seeds
1039012FALSEAvoid using referer header field in HTTP request
1039010FALSEAvoid using risky cryptographic hash (JEE)
1039024FALSEAvoid using unsecured cookie (JEE)
1039028FALSEAvoid weak encryption providing not sufficient key size (JEE)
1039040FALSEAvoid using XMLStreamReader without restriction of XML External Entity Reference (XXE)