Skip to content

Commit 8675521

Browse files
authored
Merge pull request github#4225 from aschackmull/java/changenote-1.25
Java: Add 1.25 change notes.
2 parents 8e8c65a + 02da80a commit 8675521

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

change-notes/1.25/analysis-java.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,26 @@ The following changes in version 1.25 affect Java analysis in all applications.
44

55
## General improvements
66

7-
## New queries
8-
9-
| **Query** | **Tags** | **Purpose** |
10-
|-----------------------------|-----------|--------------------------------------------------------------------|
11-
7+
The Java autobuilder has been improved to detect more Gradle Java versions.
128

139
## Changes to existing queries
1410

1511
| **Query** | **Expected impact** | **Change** |
1612
|------------------------------|------------------------|-----------------------------------|
17-
13+
| 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. |
14+
| 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`. |
15+
| Use of a broken or risky cryptographic algorithm (`java/weak-cryptographic-algorithm`) | More results | The query now recognizes the `MessageDigest.getInstance` method. |
16+
| Use of a potentially broken or risky cryptographic algorithm (`java/potentially-weak-cryptographic-algorithm`) | More results | The query now recognizes the `MessageDigest.getInstance` method. |
17+
| Reading from a world writable file (`java/world-writable-file-read`) | More results | The query now recognizes more JDK file operations. |
1818

1919
## Changes to libraries
2020

21+
* The data-flow library has been improved with more taint flow modeling for the
22+
Collections framework and other classes of the JDK. This affects all security
23+
queries using data flow and can yield additional results.
24+
* The data-flow library has been improved with more taint flow modeling for the
25+
Spring framework. This affects all security queries using data flow and can
26+
yield additional results on project that rely on the Spring framework.
2127
* The data-flow library has been improved, which affects most security queries by potentially
2228
adding more results. Flow through methods now takes nested field reads/writes into account.
2329
For example, the library is able to track flow from `"taint"` to `sink()` via the method
@@ -39,3 +45,5 @@ The following changes in version 1.25 affect Java analysis in all applications.
3945
}
4046
}
4147
```
48+
* The library has been extended with more support for Java 14 features
49+
(`switch` expressions and pattern-matching for `instanceof`).

0 commit comments

Comments
 (0)