mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
1.5 KiB
1.5 KiB
7.4.0
Deprecated APIs
- The module
semmle.code.java.frameworks.Castorhas been deprecated and will be removed in a future release. - The module
semmle.code.java.frameworks.JYamlhas been deprecated and will be removed in a future release. - The classes
UnsafeHessianInputReadObjectMethodandBurlapInputReadObjectMethodin the modulesemmle.code.java.frameworks.HessianBurlaphave been deprecated and will be removed in a future release. - The class
YamlBeansReaderReadMethodin the modulesemmle.code.java.frameworks.YamlBeanshas been deprecated and will be removed in a future release. - The class
MethodApacheSerializationUtilsDeserializein the modulesemmle.code.java.frameworks.apache.Langhas been deprecated and will be removed in a future release.
New Features
- You can now add sinks for the query "Deserialization of user-controlled data" (
java/unsafe-deserialization) using data extensions by extendingsinkModeland using the kind "unsafe-deserialization". The existing sinks that do not require extra logic to determine if they are unsafe are now defined in this way.
Minor Analysis Improvements
- The qualifiers of a calls to
readObjecton any classes that implementjava.io.ObjectInputare now recognised as sinks forjava/unsafe-deserialization. Previously this was only the case for classes which extendjava.io.ObjectInputStream.