Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b1e6e3a

Browse files
committed
Java: Add 1.25 change notes.
1 parent 8e8c65a commit b1e6e3a

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

change-notes/1.25/analysis-java.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ The following changes in version 1.25 affect Java analysis in all applications.
44

55
## General improvements
66

7+
The Java autobuilder has been improved to detect more Gradle Java versions.
8+
79
## New queries
810

911
| **Query** | **Tags** | **Purpose** |
@@ -14,10 +16,20 @@ The following changes in version 1.25 affect Java analysis in all applications.
1416

1517
| **Query** | **Expected impact** | **Change** |
1618
|------------------------------|------------------------|-----------------------------------|
17-
19+
| Hard-coded credential in API call (`java/hardcoded-credential-api-call`) | More results | The query now recognizes the `BasicAWSCredentials` class of the Amazon client SDK library with hardcoded access key/secret key. |
20+
| Deserialization of user-controlled data (`java/unsafe-deserialization`) | Fewer false positive results | The query no longer reports results using `org.apache.commons.io.serialization.ValidatingObjectInputStream`. |
21+
| Use of a broken or risky cryptographic algorithm (`java/weak-cryptographic-algorithm`) | More results | The query now recognizes the `MessageDigest.getInstance` method. |
22+
| Use of a potentially broken or risky cryptographic algorithm (`java/potentially-weak-cryptographic-algorithm`) | More results | The query now recognizes the `MessageDigest.getInstance` method. |
23+
| Reading from a world writable file (`java/world-writable-file-read`) | More results | The query now recognizes more JDK file operations. |
1824

1925
## Changes to libraries
2026

27+
* The data-flow library has been improved with more taint flow modeling for the
28+
Collections framework and other classes of the JDK. This affects all security
29+
queries using data flow and can yield additional results.
30+
* The data-flow library has been improved with more taint flow modeling for the
31+
Spring framework. This affects all security queries using data flow and can
32+
yield additional results on project that rely on the Spring framework.
2133
* The data-flow library has been improved, which affects most security queries by potentially
2234
adding more results. Flow through methods now takes nested field reads/writes into account.
2335
For example, the library is able to track flow from `"taint"` to `sink()` via the method
@@ -39,3 +51,5 @@ The following changes in version 1.25 affect Java analysis in all applications.
3951
}
4052
}
4153
```
54+
* The library has been extended with more support for Java 14 features
55+
(`switch` expressions and pattern-matching for `instanceof`).

0 commit comments

Comments
 (0)