mirror of
https://github.com/github/codeql.git
synced 2026-05-02 12:15:17 +02:00
Update java/ql/src/semmle/code/java/frameworks/Jackson.qll
This commit is contained in:
committed by
GitHub
parent
7959e76da8
commit
6c973b59ac
@@ -156,7 +156,7 @@ predicate hasArgumentWithUnsafeJacksonAnnotation(MethodAccess call) {
|
||||
|
||||
/**
|
||||
* Holds if `fromNode` to `toNode` is a dataflow step that looks like resolving a class.
|
||||
* A method probably resolves a class if takes a string, returns a type descriptor,
|
||||
* A method probably resolves a class if it takes a string, returns a type descriptor,
|
||||
* and its name contains "resolve", "load", etc.
|
||||
*
|
||||
* Any method call that satisfies the rule above is assumed to propagate taint from its string arguments,
|
||||
|
||||
Reference in New Issue
Block a user