mirror of
https://github.com/github/codeql.git
synced 2026-04-20 14:34:04 +02:00
1.1 KiB
1.1 KiB
9.0.3
Minor Analysis Improvements
- The
java/tainted-arithmeticquery no longer flags arithmetic expressions that are used directly as an operand of a comparison inif-condition bounds-checking patterns. For example,if (off + len > array.length)is now recognized as a bounds check rather than a potentially vulnerable computation, reducing false positives. - The
java/potentially-weak-cryptographic-algorithmquery no longer flags Elliptic Curve algorithms (EC,ECDSA,ECDH,EdDSA,Ed25519,Ed448,XDH,X25519,X448), HMAC-based algorithms (HMACSHA1,HMACSHA256,HMACSHA384,HMACSHA512), or PBKDF2 key derivation as potentially insecure. These are modern, secure algorithms recommended by NIST and other standards bodies. This will reduce the number of false positives for this query. - The first argument of the method
getInstanceofjava.security.Signatureis now modeled as a sink forjava/potentially-weak-cryptographic-algorithm,java/weak-cryptographic-algorithmandjava/rsa-without-oaep. This will increase the number of alerts for these queries. - Kotlin versions up to 2.3.20 are now supported.